vehicle-physics
Installation
SKILL.md
Roblox Vehicle Physics Implementation
When implementing vehicle physics, follow these Roblox-specific patterns and constraints.
Car Physics
Basic Setup
-- Use VehicleSeat for driver control
-- Connect wheels with HingeConstraint (ActuatorType = Motor)
-- Use SpringConstraint for suspension
-- CylindricalConstraint for steering column
local function setupWheel(chassis, wheelPart, isSteer, isDrive)
local attachment0 = Instance.new("Attachment", chassis)
local attachment1 = Instance.new("Attachment", wheelPart)