Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FCollisionConstraintAllocator
Description
This should be called when a sleeping constraint is activated after the narrow phase, typically in the island manager. This is mainly so that any systems asking for a list of active constraints are provided all constraints that may have contributed to the simulation, including those that were added when an island is awoken.
| Name | AddActiveConstraint |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/CollisionConstraintAllocator.h |
| Include Path | #include "Chaos/Collision/CollisionConstraintAllocator.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Collision/CollisionConstraintAllocator.cpp |
void AddActiveConstraint
(
FPBDCollisionConstraint * Constraint
)