Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

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 14-04-2004, 12:04 AM   #1
Registered User
Join Date: Feb 2004
Location: Californnia, Fremont.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Question Propeller or Turbine rotation

I'm animating a turbine engine kind of like the one in the pod race inStar Wars episode 1. Is there a Mel script to make the turbine turn all the time without having it to key frame it?
djknucklez is offline   Reply With Quote
Old 14-04-2004, 01:59 AM   #2
Pony's Avatar
Join Date: Mar 2003
Location: with PonysGirl
Posts: 2,573
Thanks: 0
Thanked 6 Times in 6 Posts

just use a exprestion.. there just what you want. there will be sevral examples in the help files for just what your wanting to do with rotation based on time.
Pony is offline   Reply With Quote
Old 14-04-2004, 02:52 AM   #3
kbrown's Avatar
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts

Let's say your object is named propeller and you want to rotate it around the Z axis. Then the expression could be as easy as:

propeller.rz = frame;

If you want to control the speed, you could add a custom attribute to your object (let's say speed) and change the expression to:

propeller.rz = frame * propeller.speed;

This way you can key the speed attribute and control the speed of the rotation.
- My Website

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 15-04-2004, 06:09 AM   #4
Registered User
Dann's Avatar
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts

Why not just keyframe 10 frames and then set it to cycle with offset. It will spin forever.
Dann 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-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.