Function oxygengine_physics_2d::prelude::ncollide2d::query::time_of_impact_composite_shape_shape
source · pub fn time_of_impact_composite_shape_shape<N, G1>(
dispatcher: &dyn TOIDispatcher<N>,
m1: &Isometry<N, Unit<Complex<N>>, 2>,
vel1: &Matrix<N, Const<nalgebra::::base::dimension::U2::{constant#0}>, Const<1>, ArrayStorage<N, 2, 1>>,
g1: &G1,
m2: &Isometry<N, Unit<Complex<N>>, 2>,
vel2: &Matrix<N, Const<nalgebra::::base::dimension::U2::{constant#0}>, Const<1>, ArrayStorage<N, 2, 1>>,
g2: &(dyn Shape<N> + 'static),
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.