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.
Interfaces
Type Aliases
Variables
- APC
- ARMOURED_LIMO
- CASH_VAN
- POLICE_BIKE
- POLICE_BOAT
- POLICE_CAR
- PURSUIT_CLASSES
- PURSUIT_TUNE
- ROLL_STEADY
- SIDE_SCRUB
- SWAT_VAN
- VEHICLE_CLASSES
- WATER_CANNON
- WEATHER_GRIP