five-on-it / packages/sim/src/world / CONTACT_PREDICTION
Variable: CONTACT_PREDICTION
constCONTACT_PREDICTION:0.1=0.1
Defined in: packages/sim/src/world.ts:58
How close two colliders come before their contact points go to the solver (m; Rapier's default is 2 mm): bodies closing up to this much per physics step are stopped at the touch with every point of the contact, not by the single nearest point Rapier keeps of a contact predicted further away, which spun a car by its corner into the car it hit.