Make two joints in an IK chain rotate the same

Make two joints in an IK chain rotate the same

littonce
Explorer Explorer
390 Views
1 Reply
Message 1 of 2

Make two joints in an IK chain rotate the same

littonce
Explorer
Explorer

So I have an IK setup like this:

temp.PNG

Double-jointed elbows and knees. Is there a way to make the two joints in the middle rotate the same?

0 Likes
391 Views
1 Reply
Reply (1)
Message 2 of 2

mcw0
Advisor
Advisor

By "the same", I'm assuming you mean the same rotation angle?  You can setup a normal 2 joint ik chain to drive your 3 joint chain.  To achieve the same rotation angle, just adjust the length of the second joint in the 2 joint chain.  Simple equation for a triangle should solve this for you.

cos(C) = a^2 + b^2 - c^2 / 2 * a * b

C is the angle opposite side c of your triangle.

0 Likes