Navigation
API > API/Plugins > API/Plugins/ChaosMover
Interface for pre-simulation tick implementations. Attach this to any UChaosMovementMode or UChaosMoveExecutorBase to opt into the generic OnPreSimulationTick dispatch no simulation changes needed.
CollectSimulationInterfaces on UChaosMovementMode / UChaosCompositeMovementMode discovers implementors via Cast<> and registers them in FChaosMoverSimulationInterfaceCache::PreSimInterfaces.
The simulation calls PreSimulationTick_Async for every collected interface after updating the sync state from the physics particle each tick.
| Name | IChaosPreSimulationTickInterface |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosMover/Source/ChaosMover/Public/ChaosMover/ChaosMoverSimulationTypes.h |
| Include Path | #include "ChaosMover/ChaosMoverSimulationTypes.h" |
Syntax
class IChaosPreSimulationTickInterface
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PreSimulationTick_Async
(
FChaosMoverPreSimContext& Context |
ChaosMover/ChaosMoverSimulationTypes.h |