[−][src]Function oxygengine_physics_2d::prelude::ncollide2d::query::closest_points
pub fn closest_points<N>(
m1: &Isometry<N, U2, Unit<Complex<N>>>,
g1: &(dyn Shape<N> + 'static),
m2: &Isometry<N, U2, Unit<Complex<N>>>,
g2: &(dyn Shape<N> + 'static),
max_dist: N
) -> ClosestPoints<N> where
N: RealField,
Computes the pair of closest points between two shapes.
Returns None
if the objects are separated by a distance greater than max_dist
.