Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 28-08-2004 , 08:05 PM
murph's Avatar
Subscriber
Join Date: Mar 2004
Location: ENGLAND
Posts: 404

progressive rotation

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

thanx in advance
murph


MURPH
# 2 28-08-2004 , 11:12 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
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.

# 3 29-08-2004 , 05:49 AM
murph's Avatar
Subscriber
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
wow...that was quick...i only expected to be told it could or could nt be done

thanks big guy.


MURPH
# 4 29-08-2004 , 07:49 AM
murph's Avatar
Subscriber
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
is that for M-6 i only have 5, user added image didn't work even after playing a bit.


MURPH
# 5 29-08-2004 , 11:47 AM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
no, it's pretty much always worked for me.

:shrug:

# 6 29-08-2004 , 11:55 AM
murph's Avatar
Subscriber
Join Date: Mar 2004
Location: ENGLAND
Posts: 404
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) user added image

Cheers Murph


MURPH
# 7 29-08-2004 , 12:15 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
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.

# 8 29-08-2004 , 12:30 PM
murph's Avatar
Subscriber
Join Date: Mar 2004
Location: ENGLAND
Posts: 404

KA-CHING

worked like a charm, spining excelently...

Many thanks Mike!!

Murph


MURPH
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