five-on-it / packages/sim/src/world / SOFT_CCD_REACH
Variable: SOFT_CCD_REACH
constSOFT_CCD_REACH:0.5=0.5
Defined in: packages/sim/src/world.ts:66
How far ahead along its motion a simulated car looks for what it will hit within one physics step (m): Rapier's soft CCD, which turns what lies there into a contact before the car gets into it. Half a metre a step covers 120 m/s, faster than any class. A proxy (proxy.ts) stays where its snapshot put it through the step and looks for nothing.