ncollide3d::query

Function time_of_impact_support_map_support_map

Source
pub fn time_of_impact_support_map_support_map<N, G1, G2>(
    m1: &Isometry<N>,
    vel1: &Vector<N>,
    g1: &G1,
    m2: &Isometry<N>,
    vel2: &Vector<N>,
    g2: &G2,
    max_toi: N,
    target_distance: N,
) -> Option<TOI<N>>
where N: RealField + Copy, G1: SupportMap<N> + ?Sized, G2: SupportMap<N> + ?Sized,
Expand description

Time of impacts between two support-mapped shapes under translational movement.