Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Animation/AnimationLocomotionLibrary/Source/Runtime/Public/AnimDistanceMatchingLibrary.h |
Include |
#include "AnimDistanceMatchingLibrary.h" |
UCLASS()
class UAnimDistanceMatchingLibrary : public UBlueprintFunctionLibrary
Library of techniques for driving animations by distance metrics rather than by time. These techniques can be effective at compensating for differences between character movement and authored motion in the animations. Distance Matching effectively changes the play rate of the animation to keep the feet from sliding. It's common to clamp the resulting play rate to avoid animations playing too slow or too fast and to use techniques such as Stride Warping to make up the difference.
Name | Description | ||
---|---|---|---|
|
FSequenceEva... |
AdvanceTimeByDistanceMatching ( |
Advance the sequence evaluator forward by distance traveled rather than time. |
|
FSequenceEva... |
DistanceMatchToTarget ( |
Set the time of the sequence evaluator to the point in the animation where the distance curve matches the DistanceToTarget input. |
|
FSequencePla... |
SetPlayrateToMatchSpeed ( |
Set the play rate of the sequence player so that the speed of the animation matches in-game movement speed. |