Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/TPhysicsProxy
Description
CONTEXT: GAMETHREAD Returns a new unmanaged allocation of the data saved on the handle, otherwise nullptr CONTEXT: GAMETHREAD -> to -> PHYSICSTHREAD Called on the game thread when the solver is about to advance forward. This callback should Enqueue commands on the PhysicsThread to update the state of the solver CONTEXT: GAMETHREAD Called on game thread after NewData has been called to buffer the particle data for physics. The purpose of this method is to clear data, such as external force and torque, which have been accumulated over a game tick. Buffering these values once means they'll be accounted for in physics. If they are not cleared, then they may "overaccumulate".
| Name | ClearAccumulatedData |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/PhysicsProxy.h |
| Include Path | #include "Chaos/Framework/PhysicsProxy.h" |
void ClearAccumulatedData()