Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/IMoverBackendLiaisonInterface
Description
Called on the game thread when a rollback occurs, after simulation state has been restored. NewBaseTimeStep is the frame we are about to re-simulate from. PreRollbackTimeStep is the last forward-simulated frame before the rollback together they define the window of time that was invalidated (mirrors the FMover_OnPostSimRollback delegate). NewSyncState is the sync state at NewBaseTimeStep, i.e., the state the simulation has been restored to.
| Name | OnSimulationRollback |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/Backends/MoverBackendLiaison.h |
| Include Path | #include "Backends/MoverBackendLiaison.h" |
virtual void OnSimulationRollback
(
const FMoverSyncState & NewSyncState,
const FMoverTimeStep & NewBaseTimeStep,
const FMoverTimeStep & PreRollbackTimeStep
)