PDA

View Full Version : auto no-flip knee - non axially alligned chain


Maximus_5610
02-27-2007, 10:21 PM
Hey people,

Im currently working on an autoRig mel script that incorporates the non-flip IK knee. Everything works fine when the joints are axially aligned, however if any joint in the leg chain is off-axis everything goes to shit.

I've been reading through 'The Art of Rigging' and there's a paragraph in it which details a simple method to offset the ik handles twist attribute by eye using a duplicate of the leg chain as reference. However im trying to automate this process within my autoRig script.

Does anyone have any ideas on a logical way I could automate this allignment process?


Thanks

Maximus_5610
02-27-2007, 10:48 PM
ok got something....

Basic work around using dummy locators and an aim constraint to work out the offset angle. Not sure if this is the right way to go about it, any other ideas would be appreciated.

Thanks

talama76
02-28-2007, 08:32 AM
Maybe you could take a look at the script posted here: http://www.fahrenheitdigital.com/forum/viewtopic.php?id=76 by mrwiseguy (3rd post)

hope it help

Ciao

Luca

nilslerin
03-01-2007, 11:29 AM
Hi guys. Haven't visited this forum for a looong time and then I stumble upon this thread.

Like Talama76 posted, I've (I'm mrwiseguy on fahrenheit forum) written a script that calculates the offset for you. Open the mel-file in a text-editor for help on how to use it.

Cheers

mberglund
02-13-2008, 06:47 PM
its a different method for no flip knees:
http://faithofthefallen.wordpress.com/2008/02/13/maya-no-flip-knees-with-local-global-switching/

yznah
02-14-2008, 10:08 AM
no flip ik of art of rigging is crap
never hack the twist offset, let this attribute animable

try to reverse engineer the knee of tsm (setup machine) it is pretty interesting, but ultra heavy and painful in this autorig
it is made with smart use of aimConstraint and driven key ;)

mberglund
02-14-2008, 02:55 PM
I find this is more stable then the art of rigging method. Just try it out.
http://faithofthefallen.wordpress.com/2008/02/13/maya-no-flip-knees-with-local-global-switching/

nilslerin
02-18-2008, 06:33 AM
no flip ik of art of rigging is crap
never hack the twist offset, let this attribute animable

You can always make another attribute that can animate the twist. I do use the twist-attribute for the no-flip knee, but I set an attribute called twistOffset and have an attribute animatable called twistIK or whatever then set twist = twistOffset + twistIK. Simple as that

CGTalk Moderation
02-18-2008, 06:33 AM
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.