SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / car animation/model help!
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 13-11-2003, 03:46 AM   #1
drumstyk1
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default car animation/model help!

i am new to maya and trying to animate a car crash as a visual aid for a school assignment. 2 questions:

1. Are there any tricks that would turn the wheels of the car in relation to the distance that the car travels.

2. Is there an easy way to define the path that the car travels other than just keyframing it?

I would appreciate any tips on this: drumstyk1@hotmail.com
AIM: Drumstyk1

P.S. My models are obviously really basic, so if any of you have some spare models of any types of cars and you want to help out your fellow man...i would greatly apreciate it!!! (It would be used in my high school physics class)

THANKS GUYS!!
~Eric
drumstyk1 is offline   Reply With Quote
Old 13-11-2003, 04:02 AM   #2
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

1. Check out some of the freebie video tutorials on set driven key (SDK). They might give you some ideas of having the car "drive" the rotation of the wheels (no pun intended).

2. Draw a cv curve from the top view and then select your car and the path. Go to animate>motion paths>attach to motion path. Your car should now animate along the path you drew.
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 13-11-2003, 02:00 PM   #3
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

your first question is answered in this book I used to have around, it gives you the equation perfectly and then you can just put it into an expression and hey presto turning wheels... I dont have the book but I just tried this out on paper and it might work.... but dont quote me on that!

Ok let d be diametre of your wheel, pi is 3.14, m is distance travlled and n is the number of rotations of your wheel.

m = n * pi * d
so the distance travelled is the number of rotations times pi times the diametre of the wheel.

thus:

n = m / pi *d (i think that's right)

this will give you the number of rotations to make and then if you times it by 360 you should get the value to put into maya's rotational value.... in theory anyways. So you need to calculate the distance you've travelled (which is easy enough using 2d vector math)

I hope this helps I can't test it out really but if you are near a library check out some basic math and physics books and they might tell you how to do it exactly.

Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 15-11-2003, 07:15 PM   #4
drumstyk1
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally posted by NitroLiq
1. Check out some of the freebie video tutorials on set driven key (SDK). They might give you some ideas of having the car "drive" the rotation of the wheels (no pun intended).

2. Draw a cv curve from the top view and then select your car and the path. Go to animate>motion paths>attach to motion path. Your car should now animate along the path you drew.
Nitro, when you place the car in the animation path can you set the SDK's to trigger the rotation of the wheels when there is any movement of the car instead of in a specific direction?
for example, i want to have the car make a right angle turn...would i just have to do a new SDK for after the turn?? I hope that makes sense. Thanks for your help!!
drumstyk1 is offline   Reply With Quote
Old 15-11-2003, 07:34 PM   #5
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

The best way would probably be by writing an expression for the wheels as pure morning suggested. I did a quick search around and found something that may specifically help you with your wheel dilemma here.
__________________
"Terminat Bora Diem, Terminal Auctor opus."

Last edited by NitroLiq : 15-11-2003 at 08:19 PM.
NitroLiq is offline   Reply With Quote
Old 20-11-2003, 04:14 AM   #6
drumstyk1
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That is all extremely helpfull, the only other thing that i can't figure out is that i would like my car to get hit and then travel sideways. I have it set to a motion path and if i rotate it at one point, it rotates for the whole thing. I also tried to tweak the shape to simulate car crash damage but it changed for the entire animation!! How do i get these to happen at specific times?? Sorry, I try to be as clear as possible but i just barely know what i am talking about. You can see how beginner i really am!! THANKS GUYS!!

~eric
drumstyk1 is offline   Reply With Quote
Old 20-11-2003, 04:51 AM   #7
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

Have you thought of setting up a couple different cameras? This way, you could render out your animation of the car on the motion path then, using the same scene without the motion path and a different camera do another animation by manually setting keys for the hit/slide. Then composite the whole thing in a compositing application.

You also might try creating several animations and layer them using the trax editor...bit more advanced though. I haven't really done much with it.
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.