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-08-2004, 09:05 PM   #1
murph
Subscriber
 
murph's Avatar
 
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
Thanks: 0
Thanked 0 Times in 0 Posts
Default progressive rotation

can a script be written to rotate progressivly, like the start of a turbine engine?

thanx in advance
murph
__________________
MURPH
murph is offline   Reply With Quote
Old 29-08-2004, 12:12 AM   #2
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

pCube1.rotateZ = frame * time *#

Something like that might work. Obviously, substitute your own object.

Substitute "#" with a number. The higher the number, the faster it goes.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 29-08-2004, 06:49 AM   #3
murph
Subscriber
 
murph's Avatar
 
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
Thanks: 0
Thanked 0 Times in 0 Posts
Default

wow...that was quick...i only expected to be told it could or could nt be done

thanks big guy.
__________________
MURPH
murph is offline   Reply With Quote
Old 29-08-2004, 08:49 AM   #4
murph
Subscriber
 
murph's Avatar
 
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
Thanks: 0
Thanked 0 Times in 0 Posts
Default

is that for M-6 i only have 5, didn't work even after playing a bit.
__________________
MURPH
murph is offline   Reply With Quote
Old 29-08-2004, 12:47 PM   #5
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

no, it's pretty much always worked for me.

:shrug:
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 29-08-2004, 12:55 PM   #6
murph
Subscriber
 
murph's Avatar
 
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this is my error msge

turbine.rotateX = frame * time * 50;
// Error: turbine.rotateX = frame * time * 50; //
// Error: Invalid use of Maya object "frame". //
// Error: turbine.rotateX = frame * time * 50; //
// Error: Invalid use of Maya object "time". //

am i missing something,

(like a basic understanding of mel perhaps)

Cheers Murph
__________________
MURPH
murph is offline   Reply With Quote
Old 29-08-2004, 01:15 PM   #7
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

Not sure what the problem might be. I remember using this back in Maya 3.

Maybe someone more familiar with expressions might know. I don't use them all that often.

Oh, that might be it... are you doing this as an expression or as a script? Right click on the rotate channel you want to be affected and choose expressions from the list. Then type that into the text box there and see if that works.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 29-08-2004, 01:30 PM   #8
murph
Subscriber
 
murph's Avatar
 
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
Thanks: 0
Thanked 0 Times in 0 Posts
Talking KA-CHING

worked like a charm, spining excelently...

Many thanks Mike!!

Murph
__________________
MURPH
murph 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.