FRootMotionSourceGroup::UpdateStateFrom

Update contained Sources to state in matching sources from other group.

Windows
MacOS
Linux

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

void UpdateStateFrom
(
    const FRootMotionSourceGroup & GroupToTakeStateFrom,
    bool bMarkForSimulatedCatchup
)

Remarks

Update contained Sources to state in matching sources from other group. Used for correcting root motion state when receiving authoritative state from server.

Returns

whether it successfully updated state

Parameters

Parameter

Description

GroupToTakeStateFrom

the Authoritative Group to take state from

bMarkForSimulatedCatchup

marks Sources as needing to return to their current Time on 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