| AskToLeave |
Called on the host to request leaving the chair. |
| CalculateEyeTransform |
Calculates the eye transform for a seated player |
| CanEnter |
Return true if this player can enter the chair |
| CanLeave |
Return true if this player can leave the chair |
| CanPress |
Chair is usable if the player can enter |
| ClampEyes |
Clamps the eye angles of a seated player between the PitchRange and YawRange |
| DrawGizmos |
Draws the player model sitting in the chair if it's selected |
| Eject |
Called on the client to eject the player from the chair. |
| FindBestExitPoint |
Returns a position to place the player when they exit the chair. This searches
through ExitPoints to find the best one, which is usually the one the player is most
facing towards. |
| GetEyeTransform |
Get the transform representing the eye position when seated |
| GetOccupant |
Gets the player that is currently occupying the chair |
| Press |
Called when the player has pressed to use the chair.
Only called if CanPress returned true. |
| Sit |
Called on the client to place the player in the chair. |
| UpdatePlayerAnimator |
Called to update the player's animator when seated |