Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/RootMotionSource.h |
Include |
#include "GameFramework/RootMotionSource.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameFramework/RootMotionSource.cpp |
void UpdateStateFrom
(
const FRootMotionSourceGroup & GroupToTakeStateFrom,
bool bMarkForSimulatedCatchup
)
Update contained Sources to state in matching sources from other group. Used for correcting root motion state when receiving authoritative state from server.
whether it successfully updated state
Parameter |
Description |
---|---|
GroupToTakeStateFrom |
the Authoritative Group to take state from |
bMarkForSimulatedCatchup |
marks Sources as needing to return to their current Time on next Prepare |