Function ncollide3d::query::contact_ball_convex_polyhedron [−][src]
pub fn contact_ball_convex_polyhedron<N: RealField>(
ball_center1: &Point<N>,
ball1: &Ball<N>,
m2: &Isometry<N>,
shape2: &impl Shape<N> + ?Sized,
prediction: N
) -> Option<Contact<N>>
Contact between a ball and a convex polyhedron.
This function panics if the input shape does not implement both the ConvexPolyhedron and PointQuery traits.