ncollide3d::query

Function time_of_impact_composite_shape_shape

Source
pub fn time_of_impact_composite_shape_shape<N, G1>(
    dispatcher: &dyn TOIDispatcher<N>,
    m1: &Isometry<N>,
    vel1: &Vector<N>,
    g1: &G1,
    m2: &Isometry<N>,
    vel2: &Vector<N>,
    g2: &dyn Shape<N>,
    max_toi: N,
    target_distance: N,
) -> Option<TOI<N>>
where N: RealField + Copy, G1: CompositeShape<N> + ?Sized,
Expand description

Time Of Impact of a composite shape with any other shape, under translational movement.