FRootMotionSource_JumpForce::UpdateStateFrom

Mainly for server correction purposes - update this Source's state from another's, usually the authoritative state from the server's version of the Source

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FRootMotionSource::UpdateStateFrom()

FRootMotionSource_JumpForce::UpdateStateFrom()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/RootMotionSource.h

Include

#include "GameFramework/RootMotionSource.h"

Source

/Engine/Source/Runtime/Engine/Private/GameFramework/RootMotionSource.cpp

Syntax

virtual bool UpdateStateFrom
(
    const FRootMotionSource * SourceToTakeStateFrom,
    bool bMarkForSimulatedCatchup
)

Remarks

Mainly for server correction purposes - update this Source's state from another's, usually the authoritative state from the server's version of the Source

that failure to update denotes a complete failure, and the Source will then be marked for removal. We need to remove since we don't have a way of reverting partial updates depending on where the update failed.

Returns

Whether the update was sucessful or not.

Parameters

Parameter

Description

bMarkForSimulatedCatchup

sets the source for needing to "catch up" to current state next Prepare