Minor Update to Both IK Nodes


Further updates to add some polish. Also, at this point I'm promoting OneJointIK to equal status. It's honestly the more useful of the two in my opinion, so calling it a "bonus" is silly.

NEW FEATURES:

The OneJointIK node now keeps track of how far it is from making contact with the thing it is reaching toward. There is now a simple method you can call that tells you if the final position of the end of the chain is on the target coordinate or not.

Also added some error handling. Incorrect setup should no longer cause a crash.

Files

InverseKinematic.gd 2 kB
Apr 15, 2022
OneJointIK.gd 3 kB
Apr 15, 2022

Get 2D Runtime Inverse Kinematics for Godot 3.2

Leave a comment

Log in with itch.io to leave a comment.