Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FPBDRigidsEvolutionBase
Description
Disconnect constraints (all types except collisions) from a set of particles to be destroyed. this will set the constraints to Enabled = false and set their respective bodies handles to nullptr. Once this is done, the constraints cannot be re-enabled.
This only applies to persistent constraints (joints etc), not transient constraints (collisions)
| Name | DisconnectConstraints |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDRigidsEvolution.h |
| Include Path | #include "Chaos/PBDRigidsEvolution.h" |
void DisconnectConstraints
(
const TSet< FGeometryParticleHandle * > & RemovedParticles
)
See Also
- DestroyTransientConstraints()