ncollide3d::query

Function time_of_impact_shape_composite_shape

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

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