ncollide3d::query

Function nonlinear_time_of_impact_composite_shape_shape

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

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