Nürburgring Drive
README.md
DriveGame
The Nürburgring car controller. It sits on the car root nring_car, which is
the body of the scene's PlayerPrototype, so every joining player gets their
own car.
On the car this player owns it runs the pure-Luau vehicle physics
(nring.physics, 240 Hz fixed step), lap and sector timing, the HUD
(nring.hud) and settings panel, engine / tyre / wind audio, and poses the
car's wheels, lights and cockpit through nring.carvis. Other players' cars
are posed by replication; this component only voices their engine from the
synced rpm / throttle fields.
Controls come from the nring_drive input map (keyboard, gamepad and touch
for every control) and nring_shift while the manual gearbox is selected.
The camera is the player camera's NringChaseCam behaviour.
Per-player best lap and settings are kept in runtime_data.player, the
world lap record in runtime_data.world (nring/record).
Edit mode does nothing: the car template sits still in the editor.