IMockRootMotionSourceMap

This is the interface into "things that actually provide root motion".

Choose your operating system:

Windows

macOS

Linux

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockRootMotionSimulation.h

Include

#include "MockRootMotionSimulation.h"

Syntax

class IMockRootMotionSourceMap

Remarks

This is the interface into "things that actually provide root motion".

Functions

Name Description

Public function

void

 

FinalizePose

(
    const FMockRootMotionSyncState*...,
    UAnimInstance* AnimInstance
)

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.

Public function

FTransform

 

StepRootMotion

(
    const FNetSimTimeStep& TimeStep,
    const FMockRootMotionSyncState*...,
    FMockRootMotionSyncState* Out,
    const FMockRootMotionAuxState*...
)

Advance the root motion state by the given TimeStep.