Flint Particle System Forum - Threed MoveEmitter 2011-12-12T01:51:29+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Threed MoveEmitter http://flintparticles.org/forum/comments.php?DiscussionID=415&Focus=1420#Comment_1420 2010-10-29T05:56:50+01:00 2011-12-12T01:51:29+00:00 bandy http://flintparticles.org/forum/account.php?u=423 Hi, I am trying to use addActivity(MoveEmitter) from the ThreeD package. The docs say MoveEmitter takes a Vector3D. If I use e.g emitter.addActivity.MoveEmitter(new Vector3D(100,100,100)) I get ... I am trying to use addActivity(MoveEmitter) from the ThreeD package. The docs say MoveEmitter takes a Vector3D.
If I use e.g
emitter.addActivity.MoveEmitter(new Vector3D(100,100,100))
I get an error "cannot resolve a multiname reference unambiguously" referring to flash.geom.Vector3D and the Flint Vector3D.

If I use the full package reference (org.flintparticles.threeD.geom.Vector3D) as the Vector3d in the MoveEmitter, I get an error about a null object in RendererBase.as Line78.

The Particle system works though when the MoveEmitter is not used.

Is there anyway around this Vector3D conflict and is it the cause of this problem?
Thanks for any help. I have looked high and low but can't seem even to find an example of MoveEmitter being used.
Lawrence]]>
Threed MoveEmitter http://flintparticles.org/forum/comments.php?DiscussionID=415&Focus=1421#Comment_1421 2010-10-29T06:02:04+01:00 2011-12-12T01:51:29+00:00 bandy http://flintparticles.org/forum/account.php?u=423 Just to clarify, the reason I want this MoveEmitter is I'm trying to make a cloud move across the stage (a movieclipsprite in Away3D) and rain falling from the cloud on mousedown. I want the emitter ... Lawrence]]> Threed MoveEmitter http://flintparticles.org/forum/comments.php?DiscussionID=415&Focus=1427#Comment_1427 2010-11-05T08:20:10+00:00 2011-12-12T01:51:29+00:00 Richard http://flintparticles.org/forum/account.php?u=1 Hi The most likely cause of a null reference error in line 78 of RendererBase would be calling renderer.addEmitter( emitter ) with a null emitter. Would you check that you have instantiated your ...
The most likely cause of a null reference error in line 78 of RendererBase would be calling renderer.addEmitter( emitter ) with a null emitter. Would you check that you have instantiated your emitter before adding it to the renderer.]]>