PDA

View Full Version : Have an axis always face where it is going


Rapier8
06-20-2006, 01:07 AM
I want to have an object (a rod, actually) always have it's y+ axis face the direction it is moving. these rods are part of a PStorm that will swirl and i want the objects to face where they are going becaseu of the various other defelctors and gravity and things of that nature. How can i do this in xpresso?

any help would be great.

Srek
06-20-2006, 06:42 AM
Usualy th z axis is used for this and you can do it with PAlignment and the ALign to travel direction option in it. If you want to use a different axis you can set it in the node, but you have to calculate it first from the velocity (direction of movement)
Cheers
Björn

Rapier8
06-21-2006, 04:50 AM
thank you, worked out fine. i'm still learning the ins and outs of xpresso and the thinking particles and any help is great.

CGTalk Moderation
06-21-2006, 04:50 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.