PDA

View Full Version : Automatic rotate


chrleon
08-03-2005, 08:38 AM
Hi folks.

How do I set up an automatic rotation on objects, via expresso?
I figure I have to get the last frames rotation info and then add a rate of rotation, and finally feed that into the next frame, but how do I do it?

Tried using global matrix, vectors, and a range of others, but the best I get is rotation on all axes. Any ideas?

- Christian

brammelo
08-03-2005, 09:09 AM
You should be able to do it with Xpresso. If you get rotations in all direction, then perhaps you should use the local rotation values as input and output? Or am I misunderstanding your problem?

chrleon
08-03-2005, 09:38 AM
thanks, branmelo..
I just figured it out on my own.

I used a setup like this:
GlobalRotation.H > Vector2Reals > Degree > Math:Add > Degree > GlobalRotation.H

Now i'll make a slider to control the rotation.
HUD is great!

- Christian

CGTalk Moderation
08-03-2005, 09:38 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.