API ReferenceSandbox.Movement
public class Sandbox.Movement.MoveModeLadder : Sandbox.Movement.MoveMode
The character is climbing up a ladder
Constructors
Showing 1 constructors
public MoveModeLadder()
No results match this filter.
Methods
Showing 8 methods
protected virtual void OnFixedUpdate()
public virtual void OnModeBegin()
public virtual void OnModeEnd(Sandbox.Movement.MoveMode next)
protected virtual void OnRotateRenderBody(Sandbox.SkinnedModelRenderer renderer)
public virtual void PostPhysicsStep()
public virtual int Score(Sandbox.PlayerController controller)
public virtual void UpdateRigidBody(Sandbox.Rigidbody body)
No results match this filter.
Properties
Showing 5 properties
public Sandbox.TagSet Sandbox.Movement.MoveModeLadder.ClimbableTags { get; set; }
A list of tags we can climb up - when they're on triggers
public Sandbox.GameObject Sandbox.Movement.MoveModeLadder.ClimbingObject { get; set; }
The GameObject we're climbing. This will usually be a ladder trigger.
public Rotation Sandbox.Movement.MoveModeLadder.ClimbingRotation { get; set; }
When climbing, this is the rotation of the wall/ladder you're climbing, where Forward is the direction to look at the ladder, and Up is the direction to climb.
public int Sandbox.Movement.MoveModeLadder.Priority { get; set; }
public float Sandbox.Movement.MoveModeLadder.Speed { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Movement |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Movement.MoveModeLadder |