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

pub fn closest_points<N: Real>(
    m1: &Isometry<N>,
    g1: &Shape<N>,
    m2: &Isometry<N>,
    g2: &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.