Skip to main content

Class: Seat

Describes a particular seating position on this rideable entity.

Constructors

new Seat()

private new Seat(): Seat

Returns

Seat

Properties

lockRiderRotation

readonly lockRiderRotation: number

Remarks

Angle in degrees that a rider is allowed to rotate while riding this entity.


maxRiderCount

readonly maxRiderCount: number

Remarks

A maximum number of riders that this seat can support.


minRiderCount

readonly minRiderCount: number

Remarks

A minimum number of riders that can be placed in this seat position, if this seat is to be filled.


position

readonly position: Vector3

Remarks

Physical location of this seat, relative to the entity's location.


seatRotation

readonly seatRotation: number

Remarks

Angle in degrees to rotate riders by.