FRootMotionSource_MoveToForce::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

Windows
MacOS
Linux

Override Hierarchy

FRootMotionSource::UpdateStateFrom()

FRootMotionSource_MoveToForce::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

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