SeatProfile
public sealed class SeatProfileNamespace Chassis.Api
One seated body: where the avatar sits, where the first-person camera looks from, and how the hands and feet hold on.
Fields
Section titled “Fields”public int IndexIndex into LandVehicle.Seats.
Value 0 up to the number of vanilla seats minus 1. The driver’s seat is the one with isDriverSeat set.
public Vector3 RootAvatar root. The vanilla sit clip puts the hips 0.825 m above it.
Value A point in the frame, in metres. With the hips 0.5 m above the frame origin, y is -0.325.
public float YawAvatar yaw against the frame, in degrees.
Value 0 faces the frame’s forward axis, 90 its right, 180 backwards.
Recline
Section titled “Recline”public float ReclineAdded in 1.6.0
How far the whole body leans back, in degrees, turned about the hips; the back stays straight.
Value 0 sits upright as the sit clip does. 15 suits a low car roof. Hands and feet keep their own points.
public Vector3 EyesCamera position for the first-person view.
Value A point in the frame, in metres; about 0.6 m above the hips looks from the avatar’s eyes.
public string Pose = "Sitting"Animator bool that holds the pose; vanilla has “Sitting”.
Value “Sitting” is the only seated pose the vanilla avatar has.
public HandProfile HandsType: HandProfile
Hands, or null to leave the arms to the animation.
public FootProfile FeetType: FootProfile
Feet, or null to leave the legs to the animation.