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 28-11-2002, 06:55 AM   #1
scraggs
Subscriber
 
Join Date: Jun 2002
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default propeller expression

hi, i'm working on an animation that will have a propeller attached to a submarine, the way i thought to do this would be to parent the propeller and submarine to each other and write a simple expression to make the propeller rotate as the sub moves along a path. am i on the right track and if so what would be written in the expression.

thanks.
scraggs is offline   Reply With Quote
Old 28-11-2002, 08:33 AM   #2
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

I'd suggets to group the propeller with itself to create a new transform node to it. Then parent the group (not the propeller shape) to the submarine. This will allow to transform the propeller freely while it still moves with the sub. Then create the expression to the propeller's (not the group) rotation. For example:

propeller.rotationZ = time * (some value);

I used rotationZ just for an example. Your may vary...
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 28-11-2002, 08:44 AM   #3
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

I did this in the past by just keying the first rotation of my sub's prop, and then in the graph editor, setting the keys to pre and post infinity
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 28-11-2002, 08:59 AM   #4
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Can you change the speed of the rotation just by adjusting the keys later?
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 28-11-2002, 02:42 PM   #5
Kurt
Registered User
 
Kurt's Avatar
 
Join Date: May 2002
Location: Niagara Falls, Canada
Posts: 5,285
Thanks: 0
Thanked 64 Times in 64 Posts
Default

I just do it the way Ragecgi mentioned. in the graph editor.
__________________
I am enough of an artist to draw freely upon my imagination, knowledge is limited, imagination encircles the world. (Albert Einstein)

http://kurtboutilier.cgsociety.org/
Kurt is offline   Reply With Quote
Old 29-11-2002, 08:19 AM   #6
scraggs
Subscriber
 
Join Date: Jun 2002
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

cool thakns guys i'll give it a go.
scraggs is offline   Reply With Quote
Old 29-11-2002, 07:24 PM   #7
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i would connect an expression to the zrotation

not sure on the syntax the way kbrown suggested would be the best way

oh and congrats on being the member of the month kbrown
Tolerate 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.