ncollide3d::query

Function nonlinear_time_of_impact_ball_ball

Source
pub fn nonlinear_time_of_impact_ball_ball<N: RealField + Copy>(
    motion1: &(impl RigidMotion<N> + ?Sized),
    b1: &Ball<N>,
    motion2: &(impl RigidMotion<N> + ?Sized),
    b2: &Ball<N>,
    max_toi: N,
    target_distance: N,
) -> Option<TOI<N>>
Expand description

Non-linear Time Of Impact of two balls under a rigid motion (translation + rotation).