Navigation
API > API/Plugins > API/Plugins/IKRig > API/Plugins/IKRig/Retargeter > API/Plugins/IKRig/Retargeter/FRetargetGlobalSettings
Syntax
UPROPERTY (EditAnywhere, BlueprintReadWrite, Category=Warping)
EWarpingDirectionSource DirectionSource
Remarks
Defines the source used to determine the forward direction as the character animates in world space. Default is "Goals". This method uses various positions on the character to create a "best fit" global rotation that approximates the facing direction of the character over time. This global rotation is used to define the forward and sideways directions used when warping goals along those axes. The options are: Goals: uses the positions of the IK goals to approximate the facing direction. This is best used on characters with a vertical spine, like bipeds. Chain: uses the positions of the bones in a retarget chain to approximate the facing direction. This is best when used with the spine chain for characters with a horizontal spine, like quadrupeds. Root Bone: uses the rotation of the root bone of the skeleton. This is most robust, but character must have correct root motion with yaw rotation in movement direction.