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

pub fn nonlinear_time_of_impact_composite_shape_shape<N, G1>(
    motion1: &impl RigidMotion<N>,
    g1: &G1,
    motion2: &impl RigidMotion<N>,
    g2: &(dyn Shape<N> + 'static),
    max_toi: N,
    target_distance: N
) -> Option<TOI<N>> where
    G1: CompositeShape<N> + ?Sized,
    N: RealField

Time Of Impact of a composite shape with any other shape, under a rigid motion (translation + rotation).