[][src]Constant linear_sim::collision::CONTACT_DISTANCE

pub const CONTACT_DISTANCE: f64

Distance criterea for contacts and collisions (TOI contacts).

Continuous collision detection will aim to return the TOI for when the objects are at a distance approximately 0.5 * CONTACT_DISTANCE in order to prevent intersection due to numerical error.

Post-impulse position correction will also move objects apart to a distance of 0.5 * CONTACT_DISTANCE.