Navigation
API > API/Plugins > API/Plugins/MotionTrajectory > API/Plugins/MotionTrajectory/FMotionTrajectoryLibrary
References
| Module | MotionTrajectory |
| Header | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Public/MotionTrajectoryLibrary.h |
| Include | #include "MotionTrajectoryLibrary.h" |
| Source | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Private/MotionTrajectoryLibrary.cpp |
static void UpdateHistory_TransformHistory
(
FPoseSearchQueryTrajectory & Trajectory,
TArrayView < FVector > TranslationHistory,
const FCharacterTrajectoryData & CharacterTrajectoryData,
const FTrajectorySamplingData & SamplingData,
float DeltaSeconds
)
Remarks
Update history by tracking offsets that result from character intent (e.g. movement component velocity) and applying that to the current world transform. This works well on moving platforms as it only stores a history of movement that results from character intent, not movement from platforms.