ncollide3d::query

Function distance_shape_composite_shape

Source
pub fn distance_shape_composite_shape<N, G2>(
    m1: &Isometry<N>,
    g1: &dyn Shape<N>,
    m2: &Isometry<N>,
    g2: &G2,
) -> N
where N: RealField + Copy, G2: CompositeShape<N> + ?Sized,
Expand description

Smallest distance between a shape and a composite shape.