A raycast-wheel vehicle stack for s&box, extracted from our released game Vehicle Prototyping. This is the exact code that game runs: contact-normal suspension, slip-curve tires with a friction ellipse, a full drivetrain with auto-clutch and auto/sequential shifting, per-car assist levels (Casual, Sport, Sim), a spring-arm chase camera, and placeholder engine and skid audio. SI units end to end, deterministic, and it runs on primitive blockout bodies, so you need zero art to get driving.

𝗧𝗿𝘆 𝗶𝘁 𝗶𝗻 𝟲𝟬 𝘀𝗲𝗰𝗼𝗻𝗱𝘀: install the kit, open the bundled vehiclephysics_demo scene, press play. WASD drives, mouse orbits, scroll zooms. Want to see it dressed up? Play Vehicle Prototyping, it is this kit with car models on top.

𝗕𝗿𝗶𝗻𝗴 𝘆𝗼𝘂𝗿 𝗼𝘄𝗻 𝗰𝗮𝗿𝘀: define a CarDefinition (chassis, wheels, tires, drivetrain, brakes, assists), spawn it with VehicleFactory.Spawn, and plug your own models in through the CustomBodyBuilder seam. The README in Source covers the full API, the seams, and the input actions you need.

𝗙𝗶𝗿𝘀𝘁 𝗴𝗲𝗻𝗲𝗿𝗮𝘁𝗶𝗼𝗻, 𝘄𝗼𝗿𝗸 𝗶𝗻 𝗽𝗿𝗼𝗴𝗿𝗲𝘀𝘀. This is an early release: the core physics is proven in a shipped game, but the API surface may still move and there are rough edges. Feedback, bug reports and feature requests genuinely shape where this goes. Come tell us what you are building: https://discord.gg/JfrwFtn9T

MIT licensed. Fork it, ship it, no strings.