API ReferenceSandbox.Movement
public abstract interface Sandbox.Movement.ISitTarget
A component that can be sat in by a player. If the player is parented to an object with this component, they will be sitting in it.
Methods
Showing 3 methods
public virtual void AskToLeave(Sandbox.PlayerController controller)
Player wants to leave the chair
public virtual Transform CalculateEyeTransform(Sandbox.PlayerController controller)
Get the transform representing the eye position when seated. This is the first person eye position, not the third person camera position.
public virtual void UpdatePlayerAnimator(Sandbox.PlayerController controller, Sandbox.SkinnedModelRenderer renderer)
Here you can set any animator parameters needed for sitting in this chair
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Movement |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Movement.ISitTarget |