Function ncollide3d::query::closest_points[][src]

pub fn closest_points<N: RealField>(
    m1: &Isometry<N>,
    g1: &dyn Shape<N>,
    m2: &Isometry<N>,
    g2: &dyn Shape<N>,
    max_dist: N
) -> ClosestPoints<N>

Computes the pair of closest points between two shapes.

Returns None if the objects are separated by a distance greater than max_dist.