Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBodyInstance
Description
Returns the cached physics creation inputs when called from a worker thread (not game thread, not parallel game thread). Returns nullptr on the game thread or if no cache is available. Use this to safely branch between cached data (off-GT) and live data (on-GT).
| Name | GetAsyncPhysicsCreationInputs |
| 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 |
const FBodyInstancePhysicsCreationInputs * GetAsyncPhysicsCreationInputs() const