[][src]Function oxygengine_physics_2d::prelude::ncollide2d::query::nonlinear_time_of_impact_support_map_support_map_with_closest_points_function

pub fn nonlinear_time_of_impact_support_map_support_map_with_closest_points_function<N, G1, G2>(
    motion1: &impl RigidMotion<N>,
    g1: &G1,
    motion2: &impl RigidMotion<N>,
    g2: &G2,
    max_toi: N,
    target_distance: N,
    closest_points: impl Fn(&Isometry<N, U2, Unit<Complex<N>>>, &G1, &Isometry<N, U2, Unit<Complex<N>>>, &G2, N) -> ClosestPoints<N>
) -> Option<TOI<N>> where
    G1: SupportMap<N> + ?Sized,
    G2: SupportMap<N> + ?Sized,
    N: RealField

Time of impacts between two support-mapped shapes under a rigid motion.

You probably want to use query::nonlinear_time_of_impact_support_map_support_map instead of this one. The distance function between the two shapes must be given.