Flint Particle System Forum - creating particles without an emitter Sun, 13 Jun 2010 06:33:50 +0100 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.4 & Feed Publisher creating particles without an emitter http://flintparticles.org/forum/comments.php?DiscussionID=327&Focus=1127#Comment_1127 http://flintparticles.org/forum/comments.php?DiscussionID=327&Focus=1127#Comment_1127 Mon, 22 Feb 2010 15:39:58 +0000 debug
1046: Type was not found or was not a compile-time constant: ParticleCreator3D. ]]>
creating particles without an emitter http://flintparticles.org/forum/comments.php?DiscussionID=327&Focus=1145#Comment_1145 http://flintparticles.org/forum/comments.php?DiscussionID=327&Focus=1145#Comment_1145 Tue, 16 Mar 2010 13:50:09 +0000 Richard
Alternatively, you can create the particles by hand (they're just instances of Particle3D) and then add them to the emitter using the addExistingParticles method of the emitter.

ParticleCreator3D is a factory class for managing the creation and reuse of particles. The emitter uses it to create particles and if you want to use it directly either

var particleFactory:ParticleCreator3D = new ParticleCreator3D();
var particle:Particle3D = particleFactory.createParticle() as Particle3D;


or

var particleFactory:ParticleCreator3D = emitter.particleFactory as ParticleCreator3D;
var particle:Particle3D = particleFactory.createParticle() as Particle3D;
]]>