FMockRootMotionSimulation

The actual NetworkPrediction simulation code that implements root motion movement (root motion evaluation itself is done via [IMockRootMotionSourceMap](API\Plugins\NetworkPredictionExtras\IMockRootMotionSourceMap) but the actual 'how to move thing given a delta' is done here)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FBaseMovementSimulation

FMockRootMotionSimulation

References

Module

NetworkPredictionExtras

Header

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

Include

#include "MockRootMotionSimulation.h"

Syntax

class FMockRootMotionSimulation : public FBaseMovementSimulation

Remarks

The actual NetworkPrediction simulation code that implements root motion movement (root motion evaluation itself is done via IMockRootMotionSourceMap but the actual 'how to move thing given a delta' is done here)

Variables

Name Description

Public variable

USceneComponent...

 

RootMotionComponent

The component the root motion is relative to.

Public variable

IRootMotionSour...

 

SourceStore

Functions

Name Description

Public function

UMockRootMot...

 

ResolveRootMotionSource

(
    const ProxyType& Proxy
)

Public function

void

 

SimulationTick

(
    const FNetSimTimeStep& TimeStep,
    const TNetSimInput< MockRootMotionS...,
    const TNetSimOutput< MockRootMotion...
)

The main tick function.