Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBodyInstance
Description
[EXPERIMENTAL] Enable/disable Partial Island Sleeping for the entire island this body is in. Partial Island Sleeping permits the solver to freeze the body's dynamics ("sleep") if it has not moved significantly in the previous simulation frames even if connected bodies are still moving. The body will be unfrozen ("wake up") due to several possible triggers such as the detection of new collisions, creation of new constraints, and user interactions.
| Name | SetAllowPartialIslandSleep |
| 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 SetAllowPartialIslandSleep
(
bool bInAllowPartialIslandSleep
)