Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 13-11-2003, 04: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, 05: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, 03: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, 08:15 PM   #4
drumstyk1
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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, 08: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 09:19 PM.
NitroLiq is offline   Reply With Quote
Old 20-11-2003, 05: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, 05: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

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.