five-on-it / packages/sim/src/vehicle-classes
packages/sim/src/vehicle-classes
Handling tuning per vehicle class, in SI units; the vehicle models are modelled to each class's chassis box.
Tune here first; the unit tests in vehicle.test.ts pin the broad envelope (acceleration, top speed, turning direction, braking, drift, wheelspin) so a tweak that breaks the feel in a gross way is caught. The compact is the base; the other classes are written as deltas from it so a change to the base carries over.