s&box docs
API ReferenceSandbox.Movement

public sealed class Sandbox.Movement.SitMoveMode : Sandbox.Movement.MoveMode

The character is sitting

Constructors

Showing 1 constructors

Methods

Showing 6 methods

public virtual Transform CalculateEyeTransform()

Get the eye transform from the chair we're sitting in

public virtual void OnModeBegin()

Entering the chair, disable body and collider

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

Leaving the chair, re-enable body and collider

public virtual int Score(Sandbox.PlayerController controller)

Score this move mode highly if we're parented to a chair

public virtual void UpdateAnimator(Sandbox.SkinnedModelRenderer renderer)

Update the animator while sitting in a chair

Metadata

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

On this page