bengodden
09-22-2005, 05:39 AM
Hey all out there,
I wasnt sure where to post this, as its half a mel question/half a trax editor question so here goes:
What Im trying to do is have my script evaluate the scene (everyframe) and on various conditions get clips summoned to the various objects trax editor. Now, in some research Ive found that my answer lies in "clipSchedule." Here in lies my two questions:
I will be using mocap (which I got from back issues of cgworld) as the clips for my character. The first problem occurs in that when I link my "walk forward two steps" clip with my "walk right two steps" and then resummon my "walk forward two steps clip" it pops back to the original orientation of the hip (as would be expected).... Is there anyway to set the trajectory of the clip into the next clip (my school has Maya version 7)
So far the only thing I can think of is to have my script store the rotation of the hips (the root or the skeletons) rotations everyframe, and have a condition loop saying "is this the beginning of a clip--> if yes ---> offset rotation by the stored X,Y,Z" Any Ideas on this concept?
All ideas are greatly appreciated,
Thanks
-Ben
I wasnt sure where to post this, as its half a mel question/half a trax editor question so here goes:
What Im trying to do is have my script evaluate the scene (everyframe) and on various conditions get clips summoned to the various objects trax editor. Now, in some research Ive found that my answer lies in "clipSchedule." Here in lies my two questions:
I will be using mocap (which I got from back issues of cgworld) as the clips for my character. The first problem occurs in that when I link my "walk forward two steps" clip with my "walk right two steps" and then resummon my "walk forward two steps clip" it pops back to the original orientation of the hip (as would be expected).... Is there anyway to set the trajectory of the clip into the next clip (my school has Maya version 7)
So far the only thing I can think of is to have my script store the rotation of the hips (the root or the skeletons) rotations everyframe, and have a condition loop saying "is this the beginning of a clip--> if yes ---> offset rotation by the stored X,Y,Z" Any Ideas on this concept?
All ideas are greatly appreciated,
Thanks
-Ben
