How to set IK angle constrains ?

Godot Version

4.5.1

Question

I have set up a simple IK, but can’t find a way to limit the rotation of each bone.
I’m trying to make a VR playerbody, with working arms. The IK is set to target the VR hand controllers.

Is there a build-in way to limit rotation, or can it be done thru gdscript ?

I read the post

a couple of weeks ago and set up two bone IK using the foot and the shin, then theres a target node that i just put as a child node3d (called it the Target) of a bone attachment. You can then easily reposition the Target to get the desired rotation.

I havent looked at the other nodes much but there are demo projects on the link.

1 Like