API ReferenceSandbox.Movement

MoveModeLadderclass

The character is climbing up a ladder

objectMoveModeMoveModeLadder
Namespace
Sandbox.Movement
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Movement.MoveModeLadder : Sandbox.Movement.MoveMode

Constructors1

Showing 1 constructors

Methods8

Showing 8 methods

protected virtual void OnFixedUpdate()PROTECTEDVIRTUALFIXED TICK

Returns:void

public virtual void OnModeBegin()PUBLICVIRTUAL

Returns:void

public virtual void OnModeEnd(Sandbox.Movement.MoveMode next)PUBLICVIRTUAL

ParameterTypeDescription
nextMoveMode
Returns:void

public virtual void PostPhysicsStep()PUBLICVIRTUAL

Returns:void

public virtual void UpdateRigidBody(Sandbox.Rigidbody body)PUBLICVIRTUALPER-FRAME

ParameterTypeDescription
bodyRigidbody
Returns:void

Properties5

Showing 5 properties

public Sandbox.TagSet Sandbox.Movement.MoveModeLadder.ClimbableTags { get; set; }PUBLICGETSET

A list of tags we can climb up - when they're on triggers

Returns:TagSet

public Sandbox.GameObject Sandbox.Movement.MoveModeLadder.ClimbingObject { get; set; }PUBLICGETSET

The GameObject we're climbing. This will usually be a ladder trigger.

Returns:GameObject

public Rotation Sandbox.Movement.MoveModeLadder.ClimbingRotation { get; set; }PUBLICGETSET

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.

Returns:Rotation

public int Sandbox.Movement.MoveModeLadder.Priority { get; set; }PUBLICGETSET

Returns:int

public float Sandbox.Movement.MoveModeLadder.Speed { get; set; }PUBLICGETSET

Returns:float

On this page