Game Development Community

Particle Rotation?

by David Taylor · in Torque Game Builder · 11/27/2008 (3:34 pm) · 4 replies

I'm having my first foray into particle effects and I've got a question about rotation. I'm using the water jet effect at the moment, and it looks great - except that it only goes vertically, from bottom to top. I want it to go from left to right.

I've tried changing the rotation values but it remains where it is. I've also tried mounting it to a sprite and then rotating the effect and/or the sprite, but the effect still doesn't rotate.

However, when I put the exhaust effect in, it rotates without a problem - I need only change the rotation values and it rotates.

So I assumed that it had more to do with the effect itself than the rotation values. Consequently, I tried changing the graph values and it did change the appearance of the effect, but not the rotation.

So...how do I rotate the water jet effect?

#1
11/28/2008 (8:39 am)
Go to each emitter and select "Rotate Emission". This tells that specific emitter to rotate its emission reference point with the parent emitter.

If you check this option and rotate the effect in the editor you'll see the emission angle change.

Note that you must do this for each emitter in an effect. That's nice because you can have specific portions of your overall effect rotate only if you wish.

Melv.
#2
11/28/2008 (8:41 am)
Forgot to mention two other options that may be useful:

Attach Position: This forces all particles to move relative to the parent emitter if it moves.

Attach Rotation: This forces all particles to move relative to the parent emitter if it rotates.

Note that you cannot have "Attach Rotation" without "Attach Position", it'll automatically select it.

Melv.
#3
11/28/2008 (2:49 pm)
Fantastic! Thanks, Melv! :)
#4
11/29/2008 (6:00 am)
You're most welcome.