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