Module manifold
Expand description
Persistent 4-Point Contact Manifold with Warm-Starting (manifold.rs).
Maintains up to 4 contact points per colliding pair (ContactManifold3D), preserving
accumulated normal and tangential impulses across simulation substeps/frames (warm_start)
and using area-maximizing point reduction when a 5th contact candidate is added.
Structs§
- Contact
Manifold3D - Persistent 4-point 3D contact manifold between
body_aandbody_b. - Contact
Point3D - A single contact point inside a
ContactManifold3D.
Constants§
- MAX_
MANIFOLD_ CONTACTS - Alias for
MAX_MANIFOLD_POINTS. - MAX_
MANIFOLD_ POINTS - Maximum number of persistent contact points in a single 3D manifold.
- PERSISTENT_
CONTACT_ THRESHOLD_ SQ - Distance squared threshold ($m^2$) for matching a new contact point to a cached warm-start point.