API ReferenceSandbox.Movement
public sealed class Sandbox.Movement.SitMoveMode : Sandbox.Movement.MoveMode
The character is sitting
Constructors
Showing 1 constructors
public SitMoveMode()
No results match this filter.
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
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Movement |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Movement.SitMoveMode |