Flint Particle System Forum - creating particles without an emitter2010-12-25T19:49:33+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
creating particles without an emitterhttp://flintparticles.org/forum/comments.php?DiscussionID=327&Focus=1127#Comment_11272010-02-22T15:39:58+00:002010-12-25T19:49:33+00:00debughttp://flintparticles.org/forum/account.php?u=332
Is it possible to create a 3d grid of particles without an emitter (using nested for loops), i've tried doing it with the emitter but seem to run into some problems. According to the documentation I ...
1046: Type was not found or was not a compile-time constant: ParticleCreator3D.]]>
creating particles without an emitterhttp://flintparticles.org/forum/comments.php?DiscussionID=327&Focus=1145#Comment_11452010-03-16T13:50:09+00:002010-03-16T13:53:35+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
The normal way to achieve what you're after would be to create a custom initializer that places the particles in the grid pattern that you want.
Alternatively, you can create the particles by hand ...
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;]]>