Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 31-03-2004 , 02:10 AM
I-Iybrid's Avatar
Simply Maya OG
Join Date: Dec 2002
Location: Queensbury NY, US A
Posts: 1,438

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
# 2 31-03-2004 , 02:20 AM
dannyngan's Avatar
Registered User
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154
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
# 3 31-03-2004 , 03:43 AM
I-Iybrid's Avatar
Simply Maya OG
Join Date: Dec 2002
Location: Queensbury NY, US A
Posts: 1,438
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. user added image


- Hybrid
# 4 31-03-2004 , 03:51 PM
I-Iybrid's Avatar
Simply Maya OG
Join Date: Dec 2002
Location: Queensbury NY, US A
Posts: 1,438
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
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads