Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/FRootMotionSource_MoveToForce
- 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 |
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 Whether the update was sucessful or not. Note 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.
Parameters
| Name | Description |
|---|---|
| bMarkForSimulatedCatchup | sets the source for needing to "catch up" to current state next Prepare |