progressive rotation
can a script be written to rotate progressivly, like the start of a turbine engine?
thanx in advance murph |
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. |
wow...that was quick...i only expected to be told it could or could nt be done
thanks big guy. |
is that for M-6 i only have 5, :( didn't work even after playing a bit.
|
no, it's pretty much always worked for me.
:shrug: |
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 |
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. |
KA-CHING
worked like a charm, spining excelently...
Many thanks Mike!! Murph |
All times are GMT. The time now is 02:15 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018