Function heron::rapier_plugin::rapier::ncollide::query::proximity[][src]

pub fn proximity<N>(
    m1: &Isometry<N, U3, Unit<Quaternion<N>>>,
    g1: &(dyn Shape<N> + 'static),
    m2: &Isometry<N, U3, Unit<Quaternion<N>>>,
    g2: &(dyn Shape<N> + 'static),
    margin: N
) -> Proximity where
    N: RealField

Tests whether two shapes are in intersecting or separated by a distance smaller than margin.