pub fn distance(
pos1: &Isometry<Real>,
g1: &dyn Shape,
pos2: &Isometry<Real>,
g2: &dyn Shape
) -> Result<Real, Unsupported>
Expand description
Computes the minimum distance separating two shapes.
Returns 0.0
if the objects are touching or penetrating.