Module |
|
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
)
Generates root motion by accumulating transforms through current root motion sources.
Parameter |
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. |