ncollide3d::query

Function contact_convex_polyhedron_ball

Source
pub fn contact_convex_polyhedron_ball<N: RealField + Copy>(
    m1: &Isometry<N>,
    poly1: &(impl Shape<N> + ?Sized),
    ball_center2: &Point<N>,
    ball2: &Ball<N>,
    prediction: N,
) -> Option<Contact<N>>
Expand description

Contact between a convex polyhedron and a ball.

This function panics if the input shape does not implement both the ConvexPolyhedron and PointQuery traits.