Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/Chaos > API/Runtime/Chaos/Chaos/Collision > API/Runtime/Chaos/Chaos/Collision/FCollisionConstraintAllocator
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/CollisionConstraintAllocator.h |
Include | #include "Chaos/Collision/CollisionConstraintAllocator.h" |
bool IsConstraintExpired
&40;
const FPBDCollisionConstraint & Constraint
&41;
Remarks
Has the constraint expired. An expired constraint is one that was not refreshed this tick.
Sleeping constrainst will report they are expired, but they should not be deleted until awoken. We deliberately don't check the sleeping flag here because it adds a cache miss. This function should be called only when you already know the sleep state (or you must also check IsSleeping())