RealDocs

UAnimInstance::RequestSlotGroupInertialization

function Engine Blueprint Since 5.1
#include "Animation/AnimInstance.h"
Access: public Specifiers: UFUNCTIONBlueprintCallable

Description

Requests an inertial blend transition originating from the specified montage slot group. Requires an Inertialization node downstream of the slot in the AnimGraph to take effect.

Caveats & Gotchas

  • If there is no Inertialization node in the AnimGraph that covers the specified slot group, the request is silently ignored. Verify your graph topology before debugging missing blends.
  • Duration is a suggestion to the Inertialization node — the actual blend time may be clamped by the node's own max duration setting if one is configured.

Signature

ENGINE_API void RequestSlotGroupInertialization(FName InSlotGroupName, float Duration, const UBlendProfile* BlendProfile = nullptr);

Parameters

Name Type Description Default
InSlotGroupName FName Name of the montage slot group to trigger inertialization on.
Duration float Length of the inertial blend in seconds.
BlendProfile const UBlendProfile* Optional per-bone blend profile to control how the inertialization is distributed across the skeleton. nullptr

Return Type

void

Example

Smoothly interrupting an upper-body montage C++
// When stopping an upper-body montage, smooth out the transition:
if (UAnimInstance* AnimInst = GetMesh()->GetAnimInstance())
{
    AnimInst->RequestSlotGroupInertialization(FName("UpperBody"), 0.2f);
    AnimInst->Montage_Stop(0.0f, UpperBodyMontage); // stop instantly; inertialization provides the blend
}

Version History

Introduced in: 5.1

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.