Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/AnimNode_Inertialization.h |
Include |
#include "Animation/AnimNode_Inertialization.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/AnimNode_Inertialization.cpp |
virtual void StartInertialization
(
FPoseContext & Context,
FInertializationPose & PreviousPose1,
FInertializationPose & PreviousPose2,
float Duration,
FInertializationPoseDiff & OutPoseDiff
)
Start Inertialization
Computes the inertialization pose difference from the current pose and the two previous poses (to capture velocity). This function is virtual so that a derived class could optionally regularize the pose snapshots to align better with the current frame's pose before computing the inertial difference (for example to correct for instantaneous changes in the root relative to its children).