View Full Version : double ended ik

05 May 2007, 10:57 PM
Is there a way through ik and/or expressions to create a joint with an ik on each end?
When you move one of the ik handles it rotates around the other end, and vice versa...



05 May 2007, 09:05 AM
Hi Luddy.

I tested doing something like you described and I've attached an example, hope you've got Maya 7.0 or greater.

The basic idea is to create an ikhandle (sticky enabled) at one end of the chain. Then create two control-objects (a pCube or something) and place them at either end. PointConstrain one controller to the first joint of the chain, then parent the ikHandle to the other controller.

That's pretty much it but I guess you want the chain to stretch and maybe squash. The setup is a little complicated but maybe you already know how to set it up or you can reverse enginer it from my scene. In this case I only used two joints for the chain, so I wanted it to both squash and streatch. If you've got more joints, you probably don't want it to squash so look for a conditionNode in the hypershade under utilities and set operation from "Not equal" to "Greater than".

It's not two ikHandles like you wanted, but I hope the setup suits you needs.

05 May 2007, 05:36 PM
Thanks, works great!!! :)

CGTalk Moderation
05 May 2007, 05:36 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.