new demo for my particle behaviour class http://www.agence-anonyme.com/blog/
100 Particles (still planes) fallowing a ball with the rules of birds flocking. 6 lines added to the away3D scene to manage it : > var partmanager:Particle3DManager = new Particle3DManager(view); for(i=0.....) > partmanager.addParticle (plane); //// while creating the planes, push the > plane into the manager > partmanager.addBoidObject (plane,0.2,10); /// addin a boid behaviour ( > object3D, force/elasticity of spring, minDistance) > partmanager.addAttractionObject(ballLead, 0.1); ///after creating the > leading ball: ballLead = new Sphere...... > partmanager.addRepelObject (ballLead,0.2,30); >partmanager.run();///onEnterFrame : I'm currently addin new feathers and try to get the best ratio speed/ complexity of behaviour : get some Event dispatched (when addin, or removing a particle, changin a force...). Please comment ! I know my demos are not quite clean, but this may help to know your advice !
