class
FPhysicsResimulator
Restore tick fromTick, replay up to toTick, recording every recomputed tick back into the ring. applyInputs runs before each step with the tick it belongs to: the place a replay re-applies the forces, impulses and kinematic moves of that tick's inputs.
- Module
- Physics
- Header
#include "Physics/PhysicsSnapshot.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using FInputFn = std::function<void(int32_t tick, PhysicsWorld& world)> |
Public functions
| Returns | Name | Description |
|---|---|---|
FPhysicsResimResult | Run |
Function details
Run
C++
static FPhysicsResimResult Run(PhysicsWorld& world, FPhysicsSnapshotRing& ring, int32_t fromTick, int32_t toTick, float fixedDt, const FInputFn& applyInputs)Generated from Physics/PhysicsSnapshot.h via physics.json · Nov 4, 2026Version 1.0.0