Function ncollide3d::query::nonlinear_time_of_impact[][src]

pub fn nonlinear_time_of_impact<N: RealField>(
    dispatcher: &dyn TOIDispatcher<N>,
    motion1: &dyn RigidMotion<N>,
    g1: &dyn Shape<N>,
    motion2: &dyn RigidMotion<N>,
    g2: &dyn Shape<N>,
    max_toi: N,
    target_distance: N
) -> Result<Option<TOI<N>>, Unsupported>

Computes the smallest time of impact of two shapes under translational movement.