s&box docs
API ReferenceSandbox.Movement

public class Sandbox.Movement.MoveModeLadder : Sandbox.Movement.MoveMode

The character is climbing up a ladder

Constructors

Showing 1 constructors

Methods

Showing 8 methods

protected virtual void OnFixedUpdate()

public virtual void OnModeBegin()

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

public virtual void PostPhysicsStep()

public virtual void UpdateRigidBody(Sandbox.Rigidbody body)

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.

Metadata

FieldValue
NamespaceSandbox.Movement
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Movement.MoveModeLadder

On this page