Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FRewindData
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include | #include "RewindData.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/RewindData.cpp |
const int32 CompareTargetsToLastFrame()
Remarks
Check if we have received targets already for the last frame simulated, if so compare those with the result of the simulation and if they desync return the frame value to request a rewind for to correct the desync NOTE: This only happens when the client has desynced and is behind the server, so we receive server states for frames not yet simulated