API ReferenceSandbox.Movement
MoveModeLadderclass
The character is climbing up a ladder
Constructors1
Showing 1 constructors
public MoveModeLadder()
No results match this filter.
Methods8
Showing 8 methods
protected virtual void OnFixedUpdate()
Returns:
void—public virtual void OnModeBegin()
Returns:
void—public virtual void OnModeEnd(Sandbox.Movement.MoveMode next)
| Parameter | Type | Description |
|---|---|---|
| next | MoveMode | — |
Returns:
void—protected virtual void OnRotateRenderBody(Sandbox.SkinnedModelRenderer renderer)
| Parameter | Type | Description |
|---|---|---|
| renderer | SkinnedModelRenderer | — |
Returns:
void—public virtual void PostPhysicsStep()
Returns:
void—public virtual int Score(Sandbox.PlayerController controller)
| Parameter | Type | Description |
|---|---|---|
| controller | PlayerController | — |
Returns:
int—No results match this filter.
Properties5
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; }
Returns:
int—public float Sandbox.Movement.MoveModeLadder.Speed { get; set; }
Returns:
float—No results match this filter.