s&box docs

public sealed struct Sandbox.CharacterControllerHelper

Constructors

Showing 1 constructors

Methods

Showing 4 methods

public Sandbox.SceneTraceResult TraceMove(Vector3 delta)

Move our position by this delta using trace. If we hit something we'll stop, we won't slide across it nicely like TryMove does.

public float TryMove(float timestep)

Try to move to the position. Will return the fraction of the desired velocity that we traveled. Position and Velocity will be what we recommend using.

public float TryMoveWithStep(float timeDelta, float stepsize)

Like TryMove but will also try to step up if it hits a wall

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.CharacterControllerHelper

On this page