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