Skip to content

SeatProfile

public sealed class SeatProfile

Namespace Chassis.Api

One seated body: where the avatar sits, where the first-person camera looks from, and how the hands and feet hold on.

public int Index

Index 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 Root

Avatar 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 Yaw

Avatar yaw against the frame, in degrees.

Value 0 faces the frame’s forward axis, 90 its right, 180 backwards.

public Vector3 Eyes

Camera 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 Hands

Type: HandProfile

Hands, or null to leave the arms to the animation.

public FootProfile Feet

Type: FootProfile

Feet, or null to leave the legs to the animation.