Expand description
Contact constraint kernels from contact_solver.c.
Graph-color convex contacts use the Convex kernels (scalar form of the wide SIMD path). Mesh and overflow contacts use the Mesh kernels.
SPDX-FileCopyrightText: 2025 Erin Catto SPDX-License-Identifier: MIT
Structs§
- Contact
Constraint - (b3ContactConstraint)
- Manifold
Constraint - (b3ManifoldConstraint)
- Manifold
Constraint Point - (b3ManifoldConstraintPoint)
Functions§
- apply_
restitution - (b3ApplyRestitution_Mesh)
- apply_
restitution_ convex - Scalar form of
b3ApplyRestitution_Convex(symmetric inertia multiply). - flag_
hit_ events - Flag hit-event candidates after impulses are stored. (hit-event part of b3StoreImpulses_Mesh for colored contacts)
- prepare_
color_ contacts - Prepare convex then mesh contacts into one constraint Vec.
- solve_
contacts - Merged normal and friction loops. (b3SolveContacts_Mesh)
- solve_
contacts_ convex - Scalar equivalent of
b3SolveContacts_Convexfor graph-color convex contacts. - store_
impulses - Write impulses from constraints onto world contacts. (b3StoreImpulses_Mesh — impulse writeback; hit-event flagging is separate)
- warm_
start_ contacts - (b3WarmStartContacts_Mesh)
- warm_
start_ contacts_ convex - (b3WarmStartContacts_Convex) — SymMatrix inertia multiply.