Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > FRootMotionSourceGroup
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 |
void PrepareRootMotion
(
float DeltaTime,
const ACharacter & Character,
const UCharacterMovementComponent & InMoveComponent,
bool bForcePrepareAll
)
Remarks
Generates root motion by accumulating transforms through current root motion sources.
Parameters
Name | Description |
---|---|
bForcePrepareAll | Used during "live" PerformMovements() to ensure all sources get prepared Needed due to SavedMove playback/server correction only applying corrections to Sources that need updating, so in that case we only Prepare those that need it. |