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 ;
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 ;
