From bc246408f59746cac7f1ddbcde733545b64dc0e5 Mon Sep 17 00:00:00 2001 From: Joey Einerhand <19751158+Joey-Einerhand@users.noreply.github.com> Date: Sun, 15 Jun 2025 20:20:03 +0200 Subject: [PATCH] Remove angle constraint mention from SkeletonModification2DFABRIK.xml SkeletonModification2DFABRIK.xml does not support angle constraints, so the line in the docs saying it does should be removed. --- doc/classes/SkeletonModification2DFABRIK.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/SkeletonModification2DFABRIK.xml b/doc/classes/SkeletonModification2DFABRIK.xml index 16784dbf4d8..e4aee899e10 100644 --- a/doc/classes/SkeletonModification2DFABRIK.xml +++ b/doc/classes/SkeletonModification2DFABRIK.xml @@ -6,7 +6,7 @@ This [SkeletonModification2D] uses an algorithm called Forward And Backward Reaching Inverse Kinematics, or FABRIK, to rotate a bone chain so that it reaches a target. FABRIK works by knowing the positions and lengths of a series of bones, typically called a "bone chain". It first starts by running a forward pass, which places the final bone at the target's position. Then all other bones are moved towards the tip bone, so they stay at the defined bone length away. Then a backwards pass is performed, where the root/first bone in the FABRIK chain is placed back at the origin. Then all other bones are moved so they stay at the defined bone length away. This positions the bone chain so that it reaches the target when possible, but all of the bones stay the correct length away from each other. - Because of how FABRIK works, it often gives more natural results than those seen in [SkeletonModification2DCCDIK]. FABRIK also supports angle constraints, which are fully taken into account when solving. + Because of how FABRIK works, it often gives more natural results than those seen in [SkeletonModification2DCCDIK]. [b]Note:[/b] The FABRIK modifier has [code]fabrik_joints[/code], which are the data objects that hold the data for each joint in the FABRIK chain. This is different from [Bone2D] nodes! FABRIK joints hold the data needed for each [Bone2D] in the bone chain used by FABRIK. To help control how the FABRIK joints move, a magnet vector can be passed, which can nudge the bones in a certain direction prior to solving, giving a level of control over the final result.