PDA

View Full Version : Rotation in an animation???


prayas
05-24-2003, 06:25 PM
Do not take this a noob thread, plz?
But this question got me a bit frustrated over the day.
I know i can make a rotation by giving an angle and for a fast rotation i need an even higher angle.

I don't like this system. Any chance of making this another way.
I like to have a submarine engine running @ lets say 2000 rounds per minute?
How to create this in a good easy way?

Going further in my thoughts: Is it possible to have a slider to control the speed of the rotation? How to do this?

Any help would be cool.

P...:

Per-Anders
05-24-2003, 07:41 PM
use xpresso, simply add in a slider that's the rpm or rps, and then connect that to a math node to multiply the time output of a time node, and them multiply that by 2*pi in another math node, then plug that in to whichever rotation port you want to control. (this will give rotations per second, if you want per minute then you will need to divide the output by 60 before putting it into the rotation port). hope this helps.

BoERS
05-24-2003, 08:17 PM
Keep in mind that only works when you DON'T change the rotational velocity... :thumbsdow

Otherwise, you will need to add the aditional rotation each frame to be able to change the velocity, therefore rotation is still dependant on it's past.

Per-Anders
05-24-2003, 08:57 PM
well if you want that it's easy too, just take the current rotation, ignore the time node and instead add the result of the slider multiplied by pi*2 to the objects original rotation. if you need to you can reset the original rotation on the first frame using a time node and a constant node.

prayas
05-27-2003, 03:40 PM
THANX a lot for your help sadie. I will try this idea. Hope to have enough skills for this. If not may i ask you for a scene file?

Will post again later tonight.

P..:

CGTalk Moderation
01-15-2006, 05:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.