Function ncollide_geometry::query::contact
[−]
[src]
pub fn contact<P, M>(
m1: &M,
g1: &Shape<P, M>,
m2: &M,
g2: &Shape<P, M>,
prediction: P::Real
) -> Option<Contact<P>> where
P: Point,
M: Isometry<P>,
Computes one contact point between two shapes.
Returns None
if the objects are separated by a distance greater than prediction
.