A SkeletonModifier3D to apply inverse kinematics to bone chains containing an arbitrary number of bones.
Base class of SkeletonModifier3D that automatically generates a joint list from the bones between the root bone and the end bone.
Note: All the methods in this class take an index parameter. This parameter specifies which setting list entry to return if the IK has multiple entries (e.g. settings/<index>/root_bone_name).
Returns the tail direction of the end bone of the bone chain when is_end_bone_extended() is true.
Returns the end bone tail length of the bone chain when is_end_bone_extended() is true.
Sets the end bone tail direction of the bone chain when is_end_bone_extended() is true.
Sets the end bone tail length of the bone chain when is_end_bone_extended() is true.
Sets the end bone name of the bone chain.
Note: The end bone must be the root bone or a child of the root bone. If they are the same, the tail must be extended by set_extend_end_bone() to modify the bone.
If enabled is true, the end bone is extended to have a tail.
The extended tail config is allocated to the last element in the joint list. In other words, if you set enabled to false, the config of the last element in the joint list has no effect in the simulated result.