[−][src]Function ncollide2d::query::nonlinear_time_of_impact_shape_composite_shape
pub fn nonlinear_time_of_impact_shape_composite_shape<N, G2: ?Sized>(
motion1: &impl RigidMotion<N> + ?Sized,
g1: &dyn Shape<N>,
motion2: &impl RigidMotion<N> + ?Sized,
g2: &G2,
max_toi: N,
target_distance: N
) -> Option<TOI<N>> where
N: RealField,
G2: CompositeShape<N>,
Time Of Impact of any shape with a composite shape, under a rigid motion (translation + rotation).