Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBodyInstance
Description
Terminates the body, releasing resources. Can be called from a worker thread IF:
- UnRegisterForCollisionEvents was already called on the game thread (or bNotifyRigidBodyCollision is false)
- The caller has exclusive ownership of this FBodyInstance (e.g., ISM bodies moved to async payload) Clean up the physics engine info for this instance. Can be called from a worker thread (see header comment for contract).
| Name | TermBody |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
| Include Path | #include "PhysicsEngine/BodyInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp |
void TermBody
(
bool bNeverDeferRelease
)