Skip to main content

Module manifold

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§

ContactManifold3D
Persistent 4-point 3D contact manifold between body_a and body_b.
ContactPoint3D
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.