Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/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
&40;
float DeltaTime,
const ACharacter & Character,
const UCharacterMovementComponent & InMoveComponent,
bool bForcePrepareAll
&41;
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. |