Function heron::rapier_plugin::rapier2d::parry::query::contact::contact_ball_convex_polyhedron [−][src]
pub fn contact_ball_convex_polyhedron(
pos12: &Isometry<f32, Unit<Complex<f32>>, 2_usize>,
ball1: &Ball,
shape2: &impl Shape,
prediction: f32
) -> Option<Contact>
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.