Flint Particle System Forum - A3D3ObjectClass just creates the First Object with the given properties. 2012-05-26T06:28:49+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher A3D3ObjectClass just creates the First Object with the given properties. http://flintparticles.org/forum/comments.php?DiscussionID=563&Focus=1917#Comment_1917 2012-04-23T14:48:52+01:00 2012-05-26T06:28:49+01:00 progressivity http://flintparticles.org/forum/account.php?u=610 Hi Richard, First - thanks for such a great piece of work! Ive got a little Problem with the actual version of Flint in work with away3d 3.6.0 http://dl.dropbox.com/u/10036823/prg2012.swf You ...
First - thanks for such a great piece of work!
Ive got a little Problem with the actual version of Flint in work with away3d 3.6.0

http://dl.dropbox.com/u/10036823/prg2012.swf
You can zoom out by using the MouseWheel, and drag around the HoverCam.

The white cubies are the Particles from Flint, but there is just one little cube outside with properties i have given.

Here is the Code part:



package
{
import away3d.materials.ColorMaterial;
import away3d.primitives.Cube;
import org.flintparticles.common.counters.Blast;
import org.flintparticles.common.initializers.ChooseInitializer;
import org.flintparticles.common.initializers.CollisionRadiusInit;
import org.flintparticles.common.initializers.InitializerGroup;
import org.flintparticles.common.initializers.MassInit;
import org.flintparticles.integration.away3d.v3.initializers.A3D3ApplyMaterial;
import org.flintparticles.integration.away3d.v3.initializers.A3D3ObjectClass;
import org.flintparticles.threeD.actions.BoundingBox;
import org.flintparticles.threeD.actions.Collide;
import org.flintparticles.threeD.actions.Move;
import org.flintparticles.threeD.emitters.Emitter3D;
import org.flintparticles.threeD.initializers.Position;
import org.flintparticles.threeD.initializers.Velocity;
import org.flintparticles.threeD.zones.BoxZone;
import org.flintparticles.threeD.zones.SphereZone;
import flash.display.DisplayObject;
import flash.geom.Vector3D;

public class particleField extends Emitter3D
{
public function particleField()
{
counter = new Blast( 50 );

addInitializer( new A3D3ObjectClass( Cube, [ { height:12, width:6, depth:6 } ] ) );
addInitializer( new A3D3ApplyMaterial( ColorMaterial, 0xFFFF00, 8 ) );
addInitializer( new Position( new BoxZone( 2000, 2000, 2000, new Vector3D( 0, 0, 0 ), new Vector3D( 0, 1, 0 ), new Vector3D( 0, 0, 1 ) ) ) );
addInitializer( new Velocity( new SphereZone( new Vector3D( 0, 0, 0 ), 15, 10 ) ) );

addAction( new Move() );
addAction( new Collide( 1 ) );
addAction( new BoundingBox( -1500, 1500, -1500, 1500, -1500, 1500, 1 ) );
}
}
}

Do you have any Idea why the other cubies wont join the properties ?

Greetings Frank]]>
A3D3ObjectClass just creates the First Object with the given properties. http://flintparticles.org/forum/comments.php?DiscussionID=563&Focus=1918#Comment_1918 2012-04-23T20:30:01+01:00 2012-05-26T06:28:49+01:00 progressivity http://flintparticles.org/forum/account.php?u=610 Oh you can close this Topic, i switched to away3d 4.x and it worked like a charm. Greetings Frank
Greetings Frank]]>