Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > FRootMotionSource_JumpForce
- FRootMotionSource::UpdateStateFrom()
- FRootMotionSource_JumpForce::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
&40;
const FRootMotionSource &42; SourceToTakeStateFrom,
bool bMarkForSimulatedCatchup
&41;
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 |