PDA

View Full Version : ik/fk matching


rihamster
11-24-2010, 05:07 AM
hello guys... so i know now the script for snapping my ik arm to the fk one and vice versa but i dont know how to say when i select the fk ctrls run the script of snapping the fk to the ik and when i select the ik ctrls do the opposite... i hope am making my point clear ... any help would be appreciated
thanks

fatsumo
11-24-2010, 10:04 AM
I should imagine you could run a loop based on the visibility of either the ik/fk.

so if ik_ctrl.visibility = 1 then execute the script.

You could possibly also do this with a utility node.

rihamster
11-24-2010, 10:46 AM
oooh thanks alot for replying... am afraid i didnt make my point clear i want to match the position of the ik arm to fk arm and vice versa when i switch it on and off so they be at the same place... i know the scripts that matches the position but i dont know how to make it automated

fatsumo
11-24-2010, 11:16 AM
This looks relevant

http://forums.cgsociety.org/showthread.php?f=89&t=929750&highlight=run+script

CGTalk Moderation
11-24-2010, 11:16 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.