Skip to main content

Module contact

Module contact 

Source

Modules§

contact_flags
Contact flag bits. (enum b3ContactFlags)

Structs§

Contact
Persistent interaction between two shapes. (b3Contact)
ContactEdge
A contact edge connects bodies and contacts in a contact graph where each body is a node and each contact is an edge. (b3ContactEdge)
ContactSpec
Contact descriptor for graph-color mesh/overflow constraints. (b3ContactSpec)
ConvexContact
Convex contact state. (b3ConvexContact)
MeshContact
Mesh contact state. (b3MeshContact)
TriangleCache
Per-triangle cache for mesh contacts. (b3TriangleCache)

Enums§

ContactCache
Contact cache: SAT or GJK simplex. (b3ContactCache)
ContactGeometry
Contact geometry cache payload. (C union in b3Contact)

Functions§

apply_mesh_hit_flags
Apply hit-event flags after mesh manifold compute. (contact.c mesh branch)
can_collide
(b3CanCollide equivalent — register supported)
collide
Narrow-phase collision. (b3Collide)
compute_mesh_manifolds
Compute mesh/height-field manifolds for a contact. (b3ComputeMeshManifolds)
contact_is_valid
Contact identifier validation. (b3Contact_IsValid — world registry checks collapse to the world argument)
create_contact
Create a contact between two shapes. (b3CreateContact)
destroy_contact
(b3DestroyContact)
initialize_contact_registers
No-op kept for C API parity; registers are compile-time via match. (b3InitializeContactRegisters)
update_contact
Update the contact manifold and touching status. (b3UpdateContact)