class

FRewindSystem

The play session's time rewind (game.Rewind): the scene's ECS world and physics scene are captured into a FRewindBuffer a few times a second, and a rewind asked for — from Visual Scripting, MRewindStatics::RewindSeconds — is applied at the start of the next update, never in the middle of a frame something is still iterating. Window, capture rate and memory budget are project settings (game.Rewind.Seconds / CaptureHz / BudgetMB).

Module
Game
Header
#include "Rollback/RewindSystem.h"
Namespace
Mowo

Physics comes back only while the set of bodies is the one the capture saw (a body spawned or destroyed since makes the restore fail and is counted); the ECS world, transforms included, always comes back.

Constructors

SignatureNameDescription
FRewindSystem()FRewindSystem
~FRewindSystem() override~FRewindSystem
FRewindSystem(const FRewindSystem&) = deleteFRewindSystem

Public functions

ReturnsNameDescription
FRewindSystem&operator=
SystemPhaseGetPhase
const char*GetDebugName
voidInitialize
voidUpdate
voidShutdown
boolRequestRewindFalse when rewind is off or nothing is held yet.
boolIsEnabled
const FRewindBuffer*GetBuffer
floatGetLastRewound
uint32_tGetPhysicsRestoreFailures
FRewindSystem*Find

Function details

FRewindSystem

C++
FRewindSystem()

~FRewindSystem

C++
~FRewindSystem() override

FRewindSystem

C++
FRewindSystem(const FRewindSystem&) = delete

operator=

C++
FRewindSystem& operator=(const FRewindSystem&) = delete

GetPhase

C++
SystemPhase GetPhase() const override

GetDebugName

C++
const char* GetDebugName() const override

Initialize

C++
void Initialize(World* world) override

Update

C++
void Update(float deltaTime) override

Shutdown

C++
void Shutdown() override

RequestRewind

C++
bool RequestRewind(float seconds)

False when rewind is off or nothing is held yet.

IsEnabled

C++
bool IsEnabled() const

GetBuffer

C++
const FRewindBuffer* GetBuffer() const

GetLastRewound

C++
float GetLastRewound() const

GetPhysicsRestoreFailures

C++
uint32_t GetPhysicsRestoreFailures() const

Find

C++
static FRewindSystem* Find(World& world)
Generated from Rollback/RewindSystem.h via game.json · Nov 5, 2026Version 1.0.0