A SkeletonModifier3D that apply transform to the bone which converted from reference.
Apply the copied transform of the bone set by BoneConstraint3D.set_reference_bone() to the bone set by BoneConstraint3D.set_apply_bone() about the specific axis with remapping it with some options.
There are 4 ways to apply the transform, depending on the combination of set_relative() and set_additive().
Relative + Additive:
- Extract reference pose relative to the rest and add it to the apply bone's pose.
Relative + Not Additive:
- Extract reference pose relative to the rest and add it to the apply bone's rest.
Not Relative + Additive:
- Extract reference pose absolutely and add it to the apply bone's pose.
Not Relative + Not Additive:
- Extract reference pose absolutely and the apply bone's pose is replaced with it.
Note: Relative option is available only in the case BoneConstraint3D.get_reference_type() is BoneConstraint3D.REFERENCE_TYPE_BONE. See also BoneConstraint3D.ReferenceType.
Note: If there is a rotation greater than 180 degrees with constrained axes, flipping may occur.
Sets additive option in the setting at index to enabled. This mainly affects the process of applying transform to the BoneConstraint3D.set_apply_bone().
If sets enabled to true, the processed transform is added to the pose of the current apply bone.
If sets enabled to false, the pose of the current apply bone is replaced with the processed transform. However, if set set_relative() to true, the transform is relative to rest.
Sets the operation of the remapping destination transform.
Sets the operation of the remapping source transform.
Sets relative option in the setting at index to enabled.
If sets enabled to true, the extracted and applying transform is relative to the rest.
If sets enabled to false, the extracted transform is absolute.