Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/PhysicsProxy.h |
Include |
#include "Chaos/Framework/PhysicsProxy.h" |
void PullFromPhysicsState()
CONTEXT: GAMETHREAD (Read Locked) Perform a similar operation to Sync, but take the data from a gamethread-safe buffer. This will be called from the game thread when it cannot sync to the physics thread. The simulation is very likely to be running when this happens so never read any physics thread data here!
Note: A read lock will have been acquired for this - so the physics thread won't force a buffer flip while this sync is ongoing