pub fn contact_heightfield_shape<D>(
dispatcher: &D,
pos12: &Pose,
heightfield1: &HeightField,
shape2: &dyn Shape,
prediction: f32,
) -> Option<Contact>where
D: ?Sized + QueryDispatcher,Expand description
Best contact between a heightfield and any other shape.
Tests the elements intersecting shape2’s Aabb (loosened by prediction) and returns
the deepest contact.