IMockRootMotionSourceMap

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss