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

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

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