Skip to content

five-on-it / apps/client/src/renderer/camera-shake / IMPACT_POINTS_PER_METRE

Variable: IMPACT_POINTS_PER_METRE ​

const IMPACT_POINTS_PER_METRE: 125 = 125

Defined in: apps/client/src/renderer/camera-shake.ts:21

The hit points of a crash of the player's own car per metre of shake: a crash that wrecks a fresh car (100 points, 80 km/h into a wall) shakes it 0.8 m, as a car's blast next to the player does; a 20-point bump 16 cm.