Particle System Problem

Software: Away3D 4.x

Jillinger, Newbie
Posted: 15 December 2014 01:41 AM   Total Posts: 29

I am now starting to use particles, and I am following the tutorial ‘Introduction to Particles’ http://away3d.com/tutorials/Introduction_to_Particles.
I noticed from this and other examples that this

var geometrySet:Vector.<Geometry> = new Vector.<Geometry>; 

seem to be mandatory.
The thing is, when I use it, I get an error
[Fault] exception, information=TypeError: Error #2007: Parameter data must be non-null.
I checked with the Basic_Particles example to make sure everything is set up correctly, and I see no problem.
Can someone help me with this please.

   

Jillinger, Newbie
Posted: 16 December 2014 01:03 PM   Total Posts: 29   [ # 1 ]

I found the problem,

mod_01.geometry.subGeometries[0].autoDeriveVertexNormals false

although it’s quite interesting that it was not a problem until I put that code in.
Seems like some things don’t work in the same environment.

Thank for forcing me to debug for myself. I learned something from this. Don’t be too quick to jump on the forum as soon as you encounter a problem. It may well be something you can find on your own.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X