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