parry3d::query::contact

Function contact_convex_polyhedron_ball

source
pub fn contact_convex_polyhedron_ball(
    pos12: &Isometry<f32>,
    shape1: &(impl Shape + ?Sized),
    ball2: &Ball,
    prediction: f32,
) -> Option<Contact>
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.