Skip to content

five-on-it / apps/client/src/renderer/camera / IMPACT_HOLD

Variable: IMPACT_HOLD ​

const IMPACT_HOLD: 0.2 = 0.2

Defined in: apps/client/src/renderer/camera.ts:57

How long the lead a blow took from the car is held in full before it is let go (s): the picture stands still with the car for a good dozen frames, which is what a crash looks like; then the view comes back to the car at IMPACT_RECENTRE.