Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FEvolution
Description
TODO: add garbage collection. Currently soft bodies and their particles are recycled only if another softbody with the exact same number of particles is requested. This is the common use case with cloth collision ranges, but we will likely need something more sophisticated. (Or we could have each SoftBody own its own SolverParticleswe don't take advantage of a single Particle list anywhere)
| Name | RemoveSoftBody |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SoftsEvolution.h |
| Include Path | #include "Chaos/SoftsEvolution.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/SoftsEvolution.cpp |
void RemoveSoftBody
(
int32 SoftBodyId
)