PDA

View Full Version : tiny SDk question..


underearth
12-08-2006, 11:21 AM
this is what i am doing now for creating three keys.. on one joint...
i believe.. this code can be converted into a single line....
but when i try to use -value flag...it says it cant be used multile time(so is mentioned in mel reference).. but -driverValue can be used multiple times....

some thoughts or idea..
i think we can create a simple(or not so simple) procedure to do that in one go...
but just querying you guys if there is any such options...for doing it in single go...

setDrivenKeyframe -dv 0 -v 0 -cd lt_index_ctr.base_twist lt_index1_jnt.rotateX ;
setDrivenKeyframe -dv 10 -v 45 -cd lt_index_ctr.base_twist lt_index1_jnt.rotateX ;
setDrivenKeyframe -dv -10 -v -45 -cd lt_index_ctr.base_twist lt_index1_jnt.rotateX ;

Robert Bateman
12-08-2006, 01:35 PM
Maya animation curves only drive 1 value. Since driven keys are basically just a single anim curve (except it's connected to another value rather than time), then they can only drive one float value at a time.

CGTalk Moderation
12-08-2006, 01:35 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.