Skip to content

five-on-it / packages/sim/src/vehicle / IMPACT_MIN

Variable: IMPACT_MIN ​

const IMPACT_MIN: 3 = 3

Defined in: packages/sim/src/vehicle.ts:120

A velocity change within one tick above this is an impact (m/s): braking never gets near. The client's camera reads the same rule to stop with the car.