Navigation
API > API/Plugins > API/Plugins/AnimationLocomotionLibraryRuntim- > API/Plugins/AnimationLocomotionLibraryRuntim-/UAnimCharacterMovementLibrary
References
| Module | AnimationLocomotionLibraryRuntime |
| Header | /Engine/Plugins/Animation/AnimationLocomotionLibrary/Source/Runtime/Public/AnimCharacterMovementLibrary.h |
| Include | #include "AnimCharacterMovementLibrary.h" |
| Source | /Engine/Plugins/Animation/AnimationLocomotionLibrary/Source/Runtime/Private/AnimCharacterMovementLibrary.cpp |
static FVector PredictGroundMovementPivotLocation
&40;
const FVector & Acceleration,
const FVector & Velocity,
float GroundFriction
&41;
Remarks
Predict where the character will change direction during a pivot based on its current movement properties and parameters from the movement component. This uses prediction logic that is heavily tied to the UCharacterMovementComponent. Each parameter corresponds to a value from the UCharacterMovementComponent with the same name. Because this is a thread safe function, it's recommended to populate these fields via the Property Access system. The predicted pivot position in local space to the character. The size of this vector will be the distance to the pivot.