Flint Particle System Forum - add an emitter behind other emitters2011-10-16T21:48:20+01:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
add an emitter behind other emittershttp://flintparticles.org/forum/comments.php?DiscussionID=506&Focus=1693#Comment_16932011-08-09T22:00:01+01:002011-10-16T21:48:20+01:00dorkbothttp://flintparticles.org/forum/account.php?u=532
I'm using the fireworks example: http://flintparticles.org/examples/firework-display-3d
I would like the Whizzer to appear behind previous Whizzers, and same with the SphereBang. Currently the ...
I would like the Whizzer to appear behind previous Whizzers, and same with the SphereBang. Currently the Whizzers are placed in front of previous Whizzers. But I think it looks more natural if the Whizzers don't appear infront of any SphereBangs. How would I change the stacking order of a Whizzer?
Thanks!]]>
add an emitter behind other emittershttp://flintparticles.org/forum/comments.php?DiscussionID=506&Focus=1702#Comment_17022011-08-19T11:26:31+01:002011-10-16T21:48:20+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
When the BitmapRenderer is created, the second parameter (false in the example) indicates whether the particles should be sorted to render particles nearer the camera on top of those behind. Set this ...
You will also need to ensure that the particles are in fact in front of the particles you want them in front of, by setting the position of the emitters and initializing the particles appropriately.]]>