Flint Particle System Forum - Column of light Mon, 12 Dec 2011 00:09:31 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Column of light http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1460#Comment_1460 http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1460#Comment_1460 Wed, 08 Dec 2010 10:35:31 +0000 Miroku_87 I would like to make a 3D column of light with squared base.
I began editing the FireSmoke example and since I want just the outline of the squared base to emit particle I have started doing this:

var fire:Emitter3D = new Emitter3D();
fire.counter = new Steady( 60 );

fire.addInitializer( new Lifetime( 2, 3 ) );
var multiZ:MultiZone = new MultiZone();
var yy:Number = 0;
multiZ.addZone(new LineZone(new Point3D(-50,yy,-50), new Point3D(50,yy,-50)));
multiZ.addZone(new LineZone(new Point3D(50,yy,-50), new Point3D(50,yy,50)));
multiZ.addZone(new LineZone(new Point3D(50,yy,50), new Point3D(-50,yy,50)));
multiZ.addZone(new LineZone(new Point3D(-50,yy,50), new Point3D(-50,yy,-50)));

var multiZ2:MultiZone = new MultiZone();
yy = 10;
multiZ2.addZone(new LineZone(new Point3D(-50,yy,-50), new Point3D(50,yy,-50)));
multiZ2.addZone(new LineZone(new Point3D(50,yy,-50), new Point3D(50,yy,50)));
multiZ2.addZone(new LineZone(new Point3D(50,yy,50), new Point3D(-50,yy,50)));
multiZ2.addZone(new LineZone(new Point3D(-50,yy,50), new Point3D(-50,yy,-50)));

fire.addInitializer( new Velocity( multiZ ) );
fire.addInitializer( new Position( multiZ2 ) );
fire.addInitializer( new SharedImage( new FireBlob() ) );

fire.addAction( new Age( ) );
fire.addAction( new Move( ) );
fire.addAction( new LinearDrag( 1 ) );
fire.addAction( new Accelerate( new Vector3D( 0, 40, 0 ) ) );
fire.addAction( new ColorChange( 0xFFFFCC00, 0x00CC0000 ) );
fire.addAction( new ScaleImage( 1, 1.5 ) );
fire.addAction( new RotateToDirection() );

fire.start( );


Now my problem is this: I want light particles to move just on Y axis with no other movement on the other axis.
How do I do this?

Thank you in advance =) ]]>
Column of light http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1465#Comment_1465 http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1465#Comment_1465 Fri, 10 Dec 2010 16:55:27 +0000 Miroku_87 Column of light http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1485#Comment_1485 http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1485#Comment_1485 Mon, 20 Dec 2010 07:51:38 +0000 Richard
fire.addInitializer( new Velocity( new PointZone( new Point3D( 0, -10, 0 ) ) ) ); ]]>
Column of light http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1490#Comment_1490 http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1490#Comment_1490 Wed, 22 Dec 2010 17:45:58 +0000 Miroku_87 Column of light http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1491#Comment_1491 http://flintparticles.org/forum/comments.php?DiscussionID=429&Focus=1491#Comment_1491 Wed, 22 Dec 2010 17:51:22 +0000 Miroku_87
THANK YOU VERY MUCH ;) ]]>