Navigation
API > API/Plugins > API/Plugins/MotionTrajectory
References
| Module | MotionTrajectory |
| Header | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Public/MotionTrajectoryLibrary.h |
| Include | #include "MotionTrajectoryLibrary.h" |
Syntax
struct FMotionTrajectoryLibrary
Remarks
Set of functions to help populate a FPoseSearchQueryTrajectory for motion matching. UCharacterTrajectoryComponent uses these functions, but they can also be used by a UAnimInstance to avoid the component.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | InitTrajectorySamples
(
FPoseSearchQueryTrajectory& Trajectory, |
||
| void | UpdateHistory_TransformHistory
(
FPoseSearchQueryTrajectory& Trajectory, |
Update history by tracking offsets that result from character intent (e.g. movement component velocity) and applying that to the current world transform. | |
| void | UpdatePrediction_SimulateCharacterMovement
(
FPoseSearchQueryTrajectory& Trajectory, |
Update prediction by simulating the movement math for ground locomotion from UCharacterMovementComponent. |