Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UMoverComponent
Description
Makes this component and owner actor reflect the state of a particular frame snapshot. This occurs after simulation ticking, as well as during a rollback before we resimulate forward.
| Name | SetFrameStateFromContext |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverComponent.h |
| Include Path | #include "MoverComponent.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoverComponent.cpp |
void SetFrameStateFromContext
(
const FMoverSyncState * SyncState,
const FMoverAuxStateContext * AuxState,
bool bRebaseBasedState
)
Parameters
| Name | Remarks |
|---|---|
| bRebaseBasedState | If true and the state was using based movement, it will use the current game world base pos/rot instead of the captured one. This is necessary during rollbacks. |