Flint Particle System Forum - How do i make particles orbit in a circular motion? 2010-11-24T14:22:13+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher How do i make particles orbit in a circular motion? http://flintparticles.org/forum/comments.php?DiscussionID=186&Focus=725#Comment_725 2009-03-09T13:52:49+00:00 2010-11-24T14:22:13+00:00 Clark http://flintparticles.org/forum/account.php?u=170 Hi all! Thanks Richard for this excellent library! I have a situation where i want to spawn a few particles at the outside edges of the stage. I want these partciles to be pulled towards the ...
Thanks Richard for this excellent library!

I have a situation where i want to spawn a few particles at the outside edges of the stage. I want these partciles to be pulled towards the centre.

Consider you creating a 100px by 100px circle sprite and centering it on stage. Id like the particles to be drawn to and orbit around the circle perimiter.

Not sure if this is possible? I tried using a gravity well but the motion is fairly chaotic in my attempts.

Also on top of this, Id like my particles to change colors. I also noticed i think ColorChange but this seems to take 2 colours. I am looking to use 7 colours. Is this fairly easy to implement?

One last thing! I have been scared of 3d for some time now and notice you have 3d support. Really impressive! Can you recommend a good source which would get me started with papervision/general 3d AS3?

Thanks everyone.]]>
How do i make particles orbit in a circular motion? http://flintparticles.org/forum/comments.php?DiscussionID=186&Focus=732#Comment_732 2009-03-16T08:57:44+00:00 2010-11-24T14:22:13+00:00 Richard http://flintparticles.org/forum/account.php?u=1 Hi You could try using the gravity well but adding another action to stop the particles getting too close - maybe an anti-gravity with a small effective distance. But for the best effect you ...
You could try using the gravity well but adding another action to stop the particles getting too close - maybe an anti-gravity with a small effective distance. But for the best effect you probably need to create a custom action. One day I should write a tutorial on creating custom actions, but in the meantime look at the source code of some of the existing actions - the structure's very simple. In may cases your action jsut needs two methods - the constructor and the update method.

The same is true of the color change that you need. A custom action would be perfect. Look at the code for the existing ColorChange action for guidance.

For 3D, there's lots of tutorials online, but unfortunately I don't know them well enough to guide you to the best. Alternatively, if you get a chance to go to a short course by the dev team of one of the engines - it doesn't really matter which one for now, you just need to get your feet wet - then grab it.]]>