Function oxygengine_physics_2d::prelude::ncollide2d::query::nonlinear_time_of_impact_support_map_support_map
source · pub fn nonlinear_time_of_impact_support_map_support_map<N, G1, G2>(
motion1: &(impl RigidMotion<N> + ?Sized),
g1: &G1,
motion2: &(impl RigidMotion<N> + ?Sized),
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 a rigid motion.