|07 July 2005||#1|
Join Date: Jan 2005
Dynamic Car Rig
After looking at the dynamic Ferrari Car posted here:
by roni, i wanted to make something similar for my own animation. I am actually using a Ferrari Modena as well =D.
Below i have cut-and-pasted the script that i have written with reference to Roni's, and, after editing the Syntax errors in it via the script editor, it does not seem to work as it should in maya.
I used just one tire to test the script, and keyframed the 1st and 500th frame to different translate keys. Frame one being (0,0,0) and frame 500 being about (90, 0, 80), in format (x,y,z).
I plugged in the script, and saw that the wheel, while rotating at about the speed that it should be, rotated on the wrong axis, and looked like it was flipping head over heels instead of being tire-like.
Here is the script:
Note: if a word has "<>" around it, that means that it will be replaced with the name/value of real thing once they are created.
The carvars.backwards attribute specifies if the car is moving backwards or forwards (i.e. if it is in drive or in reverse).
I would be happy and gracious beyond belief if somebody could help me with this. This is one of my first lengthy MEL/expression projects, and I really do not want it to become a nightmare =D.
Thanks greatly in advance to any replies.
|07 July 2005||#2|
Join Date: Sep 2003
Thread automatically closed
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|