FAnimNode_Inertialization::StartInertialization

Start Inertialization

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

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

Syntax

virtual void StartInertialization
(
    FPoseContext & Context,
    FInertializationPose & PreviousPose1,
    FInertializationPose & PreviousPose2,
    float Duration,
    FInertializationPoseDiff & OutPoseDiff
)

Remarks

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).