UAnimCharacterMovementLibrary

Library of common techniques for driving character locomotion animations.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AnimationLocomotionLibraryRuntime

Header

/Engine/Plugins/Animation/AnimationLocomotionLibrary/Source/Runtime/Public/AnimCharacterMovementLibrary.h

Include

#include "AnimCharacterMovementLibrary.h"

Syntax

UCLASS()
class UAnimCharacterMovementLibrary : public UBlueprintFunctionLibrary

Remarks

Library of common techniques for driving character locomotion animations.

Functions

Name Description

Public function Static

FVector

 

PredictGroundMovementPivotLocation

(
    const FVector& Acceleration,
    const FVector& Velocity,
    float GroundFriction
)

Predict where the character will change direction during a pivot based on its current movement properties and parameters from the movement component.

Public function Static UFunction BlueprintPure, Category, Meta

FVector

 

PredictGroundMovementStopLocation

(
    const FVector& Velocity,
    bool bUseSeparateBrakingFriction,
    float BrakingFriction,
    float GroundFriction,
    float BrakingFrictionFactor,
    float BrakingDecelerationWalking
)

Predict where the character will stop based on its current movement properties and parameters from the movement component.