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 14-04-2004, 12:04 AM   #1
djknucklez
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
Subscriber
 
Pony's Avatar
 
Join Date: Mar 2003
Location: with PonysGirl
Posts: 2,573
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

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.
__________________
Kari
- My Website
- My IMDB

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

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-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.