Skip to content

Car dynamics

ninjatobob edited this page Sep 18, 2025 · 17 revisions

Datamined from ROLLER.

Game engine runs at 36 Hz (before any speed up cheats).

Speed unit conversion

ENGINES.C defines max speed constants for each gear for each car. CAR.C converts these into units used by the handling engine (CONTROL.C) and track files by multiplying them by 2.2 (let's call these "Whips").

FUNC2.C converts Whips into mph and km/h which are displayed in the UI.

  • mph $= Whips / 3$

  • km/h $= Whips \times 0.625$

Note: 1 mph = 1.875 km/h in the Whiplashverse.

Gear speeds

Max speeds in each gear

Normal car set:

Car Max speed constant for each gear Vmax
1 2 3 4 5 6 Whips mph km/h
Auto Ariel 48 69 106 153 199 260 572.0 190.7 357.5
DeSilva 51 91 130 170 209 254 558.8 186.3 349.3
Pulse 53 79 113 153 200 264 580.8 193.6 363.0
Global 76 104 145 202 268 589.6 196.5 368.5
Million Plus 38 64 95 139 183 256 563.2 187.7 352.0
Mission 59 81 113 151 199 258 567.6 189.2 354.8
Zizin 86 124 181 262 576.4 192.1 360.3
Reise Wagon 79 105 140 191 277 609.4 203.1 380.9
All cheat cars 55 86 139 185 229 285 627.0 209.0 391.9

Advanced car set: multiply by 1.03.

Coasting

Deceleration in Whips/tick based on each car's $Drag$ coefficient defined in ENGINES.C:

  • Correct gear: $\frac{V_{max}}{Drag \times 256}$

  • Low gear (over-rev): $\frac{V_{max}}{Drag \times 256} + 1$ and a 1-tick blip at $\frac{V_{max}}{Drag \times 256}$ on subsequent downshifts

  • Neutral (engine running): 6 except MAYTE which is instant

  • Engine stalled (low speed): 1

Car Drag Coasting decel (Whips/tick) Coasting Vmax-0 (s)
Correct gear Over-rev Correct gear Over-rev Neutral*
Auto Ariel 5.7 0.392 1.392 40.5 11.4 2.6
DeSilva 4.9 0.445 1.445 34.8 10.7 2.6
Pulse 6.2 0.366 1.366 44.1 11.8 2.7
Global 8.0 0.288 1.288 56.9 12.7 2.7
Million Plus 6.6 0.333 1.333 46.9 11.7 2.6
Mission 4.4 0.504 1.504 31.3 10.5 2.6
Zizin 6.6 0.341 1.341 46.9 11.9 2.7
Reise Wagon 9.7 0.245 1.245 69.0 13.6 2.8
Godley PLC (MAYTE) 1.9 1.289 2.289 13.5 7.6 Instant
Other cheat cars 2.9 0.845 1.845 20.6 9.4 2.9

*Assuming instant shift to neutral and no stall at low speeds.

Braking

Deceleration in Whips/tick:

All cars except MAYTE

  • Correct gear: $min \{ \frac{V_{max}}{Drag \times 36}, 6 \}$

  • Low gear (over-rev): 1 tick of $min \{ \frac{V_{max}}{Drag \times 18}, 6 \}$ on downshift followed by $min \{ \frac{V_{max}}{Drag \times 18} + 1, 6 \}$

  • Neutral: 6

Special MAYTE braking

  • Correct gear: $\frac{V_{max}}{Drag \times 36}$

  • Low gear (over-rev): 1 tick of $\frac{V_{max}}{Drag \times 18}$ on downshift followed by $\frac{V_{max}}{Drag \times 18} + 1$

  • Neutral: Instant stop

Note: $Drag$ = seconds taken to brake to a stop from $V_{max}$ while staying in top gear.

Car Drag Braking decel (Whips/tick) Braking Vmax-0 (s)
Correct gear Over-rev Correct gear Over-rev Neutral
Auto Ariel 5.7 2.788 6.000 5.7 2.6 2.6
DeSilva 4.9 3.168 6.000 4.9 2.6 2.6
Pulse 6.2 2.602 6.000 6.2 2.7 2.7
Global 8.0 2.047 5.094 8.0 3.2 2.7
Million Plus 6.6 2.370 5.741 6.6 2.7 2.6
Mission 4.4 3.583 6.000 4.4 2.6 2.6
Zizin 6.6 2.426 5.852 6.6 2.7 2.7
Reise Wagon 9.7 1.745 4.490 9.7 3.8 2.8
Godley PLC (MAYTE) 1.9 9.167 19.333 1.9 0.9 Instant
Other cheat cars 2.9 6.000 6.000 2.9 2.9 2.9

Clone this wiki locally