ncollide3d::query

Function nonlinear_time_of_impact_shape_composite_shape

Source
pub fn nonlinear_time_of_impact_shape_composite_shape<N, G2>(
    dispatcher: &dyn TOIDispatcher<N>,
    motion1: &dyn RigidMotion<N>,
    g1: &dyn Shape<N>,
    motion2: &dyn RigidMotion<N>,
    g2: &G2,
    max_toi: N,
    target_distance: N,
) -> Option<TOI<N>>
where N: RealField + Copy, G2: ?Sized + CompositeShape<N>,
Expand description

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