Libraries

s&box libraries list

Vehicle Physics Kit

fieldguide.vehiclephysics

Raycast-wheel vehicle physics for s&box: slip-curve tires, full drivetrain, assists and a chase camera. No art required.

About

A raycast-wheel vehicle stack for s&box: contact-normal suspension, slip-curve tires with a friction ellipse, a full drivetrain with auto-clutch and auto or 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.

Try it in 60 seconds: install the kit, open the bundled vehiclephysics_demo scene, press play. WASD drives, mouse orbits, scroll zooms. Press T for the tuning lab and change grip, torque, suspension, brakes and assists while you drive.


Bring your own cars: 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.

First generation, work in progress. This is an early release: the core physics is solid, 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 me what you are building: https://discord.gg/JfrwFtn9T

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

Media

More by sbox Field Guide

View organization analytics →
01
Tips Kit thumbnail
Tips Kit fieldguide.tips

Write onboarding tips inside your running game: live preview, test fire, and tips that retire when the player does the thing.

+0 24h
2favorites
2upvotes
43%Terry score