Skip to content

Class · inherits BasePart

VehicleSeat

Official docs ↗

A seat object that can be used to control a vehicle.

About VehicleSeat

The VehicleSeat objects welds a player to the seat when the player touches the seat. It then forwards the movement inputs to any connected motor joints, allowing control of a vehicle.

While VehicleSeat is great for making simple vehicles they do have some limitations. Movement control will only detect motors connected directly to the vehicle seat, or through another rigid connection. This means that if you have a wheel connected to a beam which is then welded to the seat it will work fine, however if you have the wheel connected to a part, which is connected by a hinge to the rest of the car, it will not work.

Properties 9

  • AreHingesDetected: intReadOnlyNotReplicatedDisplays how many hinges are detected by the VehicleSeat. Useful for debugging vehicle designs.
  • Disabled: booleanToggles whether the VehicleSeat is active or not.

    Toggles whether the VehicleSeat is active or not. If the seat is disabled, it will not automatically weld a character to it on collision and will not allow a character to control the connected vehicle.

  • HeadsUpDisplay: booleanIf true, a UI speed bar will be displayed on screen that tells you what speed the vehicle is moving at.
  • MaxSpeed: floatThe maximum speed that can be attained.
  • Occupant: HumanoidReadOnlyNotReplicatedThe Humanoid that is sitting in the seat.
  • SteerFloat: floatThe left-to-right movement float, tied to left and right movement inputs.

    The left-to-right movement float, tied to left and right movement inputs. Can range between 1 (right) and -1 (left). Will refresh back to 0 (straight) unless constantly set.

  • ThrottleFloat: floatThe forward-to-reverse throttle float, tied to forward and backward movement inputs.

    The forward-to-reverse throttle float, tied to forward and backward movement inputs. Can range between 1 (forward) and -1 (reverse). Will refresh back to 0 (null) unless constantly set.

  • Torque: floatHow fast the vehicle will be able to attain MaxSpeed.

    How fast the vehicle will be able to attain MaxSpeed. The greater the number, the faster it will reach the maximum speed.

  • TurnSpeed: floatThe speed at which the vehicle will turn. Higher numbers can cause problems and are not necessarily better.

Methods 1

  • Sit(humanoid: Instance) → ()Forces the character with the specified Humanoid to sit in the VehicleSeat.

VehicleSeat also has every member of BasePart. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.