orbiting Particles.
blackfedora
Member Posts: 5
Does anyone have any ideas on how to make particles orbit the actor that is emitting them?
Comments
As in just around the actor in all directions randomly? Use "random()" in the particle position offsets and the particle direction of movement.
I guess if you offset the emission point of the particles to one side of the actor and then move them across the actor, it would sort of look like they were orbiting. Constrain a transparent particle emitting actor to the back of your actor and repeat the aforementioned method, only in reverse direction with darker particles for more of an orbiting effect. Probably a few more weird things you could try.
Just thought you may try using the sin/cos circular actor movement method on the particles instead of the actor with a vectorToAngle() for the direction. May give you a sort of orbiting effect. I'd mess with it but it's 3:30am and I gotta get some sleep.
I decided to make a particle emitter orbit my main actor(player) rather than try to make my player the emitter and make the particles orbit. This way when my player moves I can get a nice trailing effect. Now my only problem is making the emitter move in sync with the player while maintaining an orbit around him/her.
I did a similar thing with my shield in Fireflight.