ncollide3d::query

Function contact_ball_convex_polyhedron

Source
pub fn contact_ball_convex_polyhedron<N: RealField + Copy>(
    ball_center1: &Point<N>,
    ball1: &Ball<N>,
    m2: &Isometry<N>,
    shape2: &(impl Shape<N> + ?Sized),
    prediction: N,
) -> Option<Contact<N>>
Expand description

Contact between a ball and a convex polyhedron.

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