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 31-03-2004, 02:10 AM   #1
I-Iybrid
Simply Maya OG
 
I-Iybrid's Avatar
 
Join Date: Dec 2002
Location: Queensbury NY, US A
Posts: 1,438
Thanks: 2
Thanked 14 Times in 14 Posts
Default Expression Problems - Rotating Wheels

I have an expression, so whenever I move a wheel on my car, it rotates depending on how far I move it. I assigned it to all 4 wheels (independently) and parented (i also tried grouping them) to the rest of the car. When i move the car, the wheels dont rotate like they should. Any ideas how I would make it so when I move the car, the wheels rotate?
__________________
- Hybrid
I-Iybrid is offline   Reply With Quote
Old 31-03-2004, 02:20 AM   #2
dannyngan
Registered User
 
dannyngan's Avatar
 
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154
Thanks: 0
Thanked 1 Time in 1 Post
Default

Since the wheels are parented to something else, they aren't actually translating in the scene. The parent object (or its parent, etc) is translating, and the wheels are just following in the parent object's coordinate space. To make the expression work, it needs to get the translation of whatever is translating everything. If it's the body of the car, then use that. If it's a group object, use that.

BTW: This isn't really a newbie/basics question. This should go into the programming forum.
__________________
Danny Ngan
Animator | Amaze Entertainment
my website | my blog | my job
dannyngan is offline   Reply With Quote
Old 31-03-2004, 03:43 AM   #3
I-Iybrid
Simply Maya OG
 
I-Iybrid's Avatar
 
Join Date: Dec 2002
Location: Queensbury NY, US A
Posts: 1,438
Thanks: 2
Thanked 14 Times in 14 Posts
Default

Thnx danny. Ill try and get it figured out. Yea, sorry about that. I didnt really know where to post it, cause to me, it could of gone in either forum. Expressions are brand new to me, so I figured the NewB forum.
__________________
- Hybrid
I-Iybrid is offline   Reply With Quote
Old 31-03-2004, 03:51 PM   #4
I-Iybrid
Simply Maya OG
 
I-Iybrid's Avatar
 
Join Date: Dec 2002
Location: Queensbury NY, US A
Posts: 1,438
Thanks: 2
Thanked 14 Times in 14 Posts
Default

For some reason, its still not working. I select the car body, and put in the rotateZ section "wheel.rotateX = time * -300;" and it just turns the wheel a random degree, and nothing else happens. Any suggestions? The name of the wheel is "wheel" and the carbody is "MitsuEVO". Thnx
__________________
- Hybrid
I-Iybrid 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.