Navigation
API > API/Plugins > API/Plugins/MotionTrajectory > API/Plugins/MotionTrajectory/FMotionTrajectoryLibrary
Description
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.
| Name | UpdateHistory_TransformHistory |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Public/MotionTrajectoryLibrary.h |
| Include Path | #include "MotionTrajectoryLibrary.h" |
| Source | /Engine/Plugins/Experimental/Animation/MotionTrajectory/Source/MotionTrajectory/Private/MotionTrajectoryLibrary.cpp |
static void UpdateHistory_TransformHistory
(
FTransformTrajectory & Trajectory,
TArrayView < FVector > TranslationHistory,
const FCharacterTrajectoryData & CharacterTrajectoryData,
const FTrajectorySamplingData & SamplingData,
float DeltaSeconds
)