Game Development Community

Particles rotating in movement direction?

by Maddermadcat · in Torque Game Engine · 02/15/2008 (12:56 pm) · 1 replies

So I've created a spark particle datablock, but the particles always point in one direction. I'd like them to face whichever direction it is they're moving in. Maybe this will better explain what I mean:

img526.imageshack.us/img526/6461/particlediagvi9.png
Is this already possible in Torque? If not, how would I go about implementing it, and if yes, then how do I use it?

EDIT: Never mind. If anyone finds this thread wondering about the same thing, all you have to do is add the following two lines to your emitter datablock:

orientParticles = true;
orientOnVelocity = true;

And you'll get your particles facing the right way.