Api Sandbox Movement MoveModeLadder
class

MoveModeLadder

public class MoveModeLadder : MoveMode

The character is climbing up a ladder

Constructors

MoveModeLadder()

Properties

Name Type Description
Priority Int32
Speed Single
ClimbableTags TagSet A list of tags we can climb up - when they're on triggers
ClimbingObject GameObject The GameObject we're climbing. This will usually be a ladder trigger.
ClimbingRotation Rotation 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.

Methods

virtual Void UpdateRigidBody(Rigidbody body)
virtual Int32 Score(PlayerController controller)
virtual Void OnModeBegin()
virtual Void OnModeEnd(MoveMode next)
virtual Void PostPhysicsStep()
virtual Vector3 UpdateMove(Rotation eyes, Vector3 input)
Assembly: Sandbox.Engine Namespace: Sandbox.Movement Full Name: Sandbox.Movement.MoveModeLadder