| FRootMotionSource::UpdateStateFrom()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/RootMotionSource.h |
Include |
#include "GameFramework/RootMotionSource.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameFramework/RootMotionSource.cpp |
virtual bool UpdateStateFrom
(
const FRootMotionSource * SourceToTakeStateFrom,
bool bMarkForSimulatedCatchup
)
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.
Whether the update was sucessful or not.
Parameter |
Description |
---|---|
bMarkForSimulatedCatchup |
sets the source for needing to "catch up" to current state next Prepare |