Expand description
Updates and manages contact pairs between colliders.
§Overview
Before the narrow phase, the broad phase creates a contact pair
in the ContactGraph resource for each pair of intersecting ColliderAabbs.
The narrow phase then determines which contact pairs found in the ContactGraph are touching,
and computes updated contact points and normals in a parallel loop.
Afterwards, the narrow phase removes contact pairs whose AABBs no longer overlap, and writes collision events for colliders that started or stopped touching. This is done in a fast serial loop to preserve determinism.
The solver then generates a ContactConstraint
for each contact pair that is touching or expected to touch during the time step.
Structs§
- Collision
Event Systems - A system set for triggering the
CollisionStartandCollisionEndevents. - Narrow
Phase - A system parameter for managing the narrow phase.
- Narrow
Phase Config - A resource for configuring the narrow phase.
- Narrow
Phase Plugin - A narrow phase plugin for updating and managing contact pairs
between colliders of type
C.
Enums§
- Narrow
Phase Systems - System sets for systems running in
PhysicsStepSystems::NarrowPhase.
Type Aliases§
- Narrow
Phase Set Deprecated - A deprecated alias for
NarrowPhaseSystems.