ncollide3d::query

Function proximity_support_map_support_map_with_params

Source
pub fn proximity_support_map_support_map_with_params<N, G1, G2>(
    m1: &Isometry<N>,
    g1: &G1,
    m2: &Isometry<N>,
    g2: &G2,
    margin: N,
    simplex: &mut VoronoiSimplex<N>,
    init_dir: Option<Unit<Vector<N>>>,
) -> (Proximity, Unit<Vector<N>>)
where N: RealField + Copy, G1: SupportMap<N> + ?Sized, G2: SupportMap<N> + ?Sized,
Expand description

Proximity between support-mapped shapes (Cuboid, ConvexHull, etc.)

This allows a more fine grained control other the underlying GJK algorigtm.