Building upon previous work to preserve tangentially separated contacts. That feature works well reduce jitter on sliding boxes, but it can be problematic in other cases. Reworking this a bit so that the manifold can make slightly more informed decisions with respect to discarding/preserving. We will only extend contact persistence if:
EnableStickyContacts==true
The collision event is between a dynamic and static object.
The collision event doesn't involve spheres, capsules, or concave geometry.
The separation tangent to the contact normal doesn't exceed StickyContactMaxDistance.
resolves #615
Building upon previous work to preserve tangentially separated contacts. That feature works well reduce jitter on sliding boxes, but it can be problematic in other cases. Reworking this a bit so that the manifold can make slightly more informed decisions with respect to discarding/preserving. We will only extend contact persistence if:
EnableStickyContacts==true
StickyContactMaxDistance
.