UAnimPoseExtensions::GetRelativeTransform

Retrieves the relative transform between the two provided bone names

Unreal Engine C++ API Reference > Editor > AnimationBlueprintLibrary > UAnimPoseExtensions

References

   
Module AnimationBlueprintLibrary
Header /Engine/Source/Editor/AnimationBlueprintLibrary/Public/AnimPose.h
Include #include "AnimPose.h"
Source /Engine/Source/Editor/AnimationBlueprintLibrary/Private/AnimPose.cpp
static FTransform GetRelativeTransform
(
    const [FAnimPose](API\Editor\AnimationBlueprintLibrary\FAnimPose) & Pose,
    [FName](API\Runtime\Core\UObject\FName) FromBoneName,
    [FName](API\Runtime\Core\UObject\FName) ToBoneName,
    EAnimPoseSpaces Space
)

Remarks

Retrieves the relative transform between the two provided bone names Relative transform in requested space for bone if found, otherwise return identity transform

Parameters

Name Description
Pose Anim Pose to retrieve the transform from
FromBoneName Name of the bone to retrieve the transform relative from
ToBoneName Name of the bone to retrieve the transform relative to
Space Space in which the transform should be retrieved

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library