Open Asterune
VehicleSeat

VehicleSeat

A seat that provides vehicle movement input and physical velocity.

Creatable
Instance.new("VehicleSeat")
Inherits
BasePartPVInstanceInstance
Replication
Standard

Behavior

VehicleSeat is a seat for controlling a vehicle. It inherits the seating behavior of Seat and exposes linear and angular velocity values for the vehicle assembly.

Summary

Members18
Properties18

Properties

AngularVelocity

VehicleSeat.AngularVelocity: Vector3 = Vector3.new(0, 0, 0)

The vehicle seat's angular velocity around each axis.

BackSurface

VehicleSeat.BackSurface: Enum.SurfaceType = Enum.SurfaceType.Smooth

The joint surface type on the back face.

BottomSurface

VehicleSeat.BottomSurface: Enum.SurfaceType = Enum.SurfaceType.Inlet

The joint surface type on the bottom face.

Disabled

VehicleSeat.Disabled: boolean = false

Whether the seat is disabled for vehicle control.

FrontSurface

VehicleSeat.FrontSurface: Enum.SurfaceType = Enum.SurfaceType.Smooth

The joint surface type on the front face.

HeadsUpDisplay

VehicleSeat.HeadsUpDisplay: boolean = true

Whether the VehicleSeat displays its driving interface.

LeftSurface

VehicleSeat.LeftSurface: Enum.SurfaceType = Enum.SurfaceType.Smooth

The joint surface type on the left face.

LinearVelocity

VehicleSeat.LinearVelocity: Vector3 = Vector3.new(0, 0, 0)

The vehicle seat's linear velocity in studs per second.

Material

VehicleSeat.Material: Enum.Material = Enum.Material.Plastic

The surface material. Material affects appearance and physical density. See Enum.Material.

MaxSpeed

VehicleSeat.MaxSpeed: number = 25

The target maximum vehicle speed.

Occupant

VehicleSeat.Occupant: Humanoid? = nil

The Humanoid seated in the seat, or nil when unoccupied.

RenderLayer

VehicleSeat.RenderLayer: Enum.RenderLayer = Enum.RenderLayer.Default

The rendering layer used for this geometry or light.

RightSurface

VehicleSeat.RightSurface: Enum.SurfaceType = Enum.SurfaceType.Smooth

The joint surface type on the right face.

Steer

VehicleSeat.Steer: number = 0

The steering input reported by the VehicleSeat.

Throttle

VehicleSeat.Throttle: number = 0

The forward or reverse input reported by the VehicleSeat.

TopSurface

VehicleSeat.TopSurface: Enum.SurfaceType = Enum.SurfaceType.Studs

The joint surface type on the top face.

Torque

VehicleSeat.Torque: number = 10

The torque setting used for vehicle propulsion.

TurnSpeed

VehicleSeat.TurnSpeed: number = 1

The steering response setting for the vehicle.

Inherited members

Inherited101

Example

Luau
local seat = Instance.new("VehicleSeat")
seat.LinearVelocity = Vector3.new(0, 0, -20)
seat.Parent = workspace

Seat · BasePart · Vector3