Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
This is the interface into "things that actually provide root motion".
| Name | IMockRootMotionSourceMap |
| Type | class |
| Header File | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockRootMotionSimulation.h |
| Include Path | #include "MockRootMotionSimulation.h" |
Syntax
class IMockRootMotionSourceMap
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FinalizePose
(
const FMockRootMotionSyncState* Sync, |
Push the Sync state to the AnimInstance this is debatable - the simulation code doesn't need to call this, its really the concern of the driver (UMockRootMotionComponent) and not all potential root motion sources are going to want to set a pose. | MockRootMotionSimulation.h | |
FTransform StepRootMotion
(
const FNetSimTimeStep& TimeStep, |
Advance the root motion state by the given TimeStep. | MockRootMotionSimulation.h |