[−][src]Function ncollide3d::query::time_of_impact_internal::time_of_impact
pub fn time_of_impact<N: Real>(
m1: &Isometry<N>,
vel1: &Vector<N>,
g1: &dyn Shape<N>,
m2: &Isometry<N>,
vel2: &Vector<N>,
g2: &dyn Shape<N>
) -> Option<N>
Computes the smallest time of impact of two shapes under translational movement.
Returns 0.0
if the objects are touching or penetrating.