Function heron::rapier_plugin::rapier2d::parry::query::contact::contact_convex_polyhedron_ball [−][src]
pub fn contact_convex_polyhedron_ball(
pos12: &Isometry<f32, Unit<Complex<f32>>, 2_usize>,
shape1: &impl Shape,
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.