yes, Sven is right, tho, to make it clearer, i would first parse to retrieve 
the mesh you do need,
then proceed the cloning

Also to make something clear, I read often remarks when people assume data is 
of different nature coming from a different type of 3d formats.
It is not true.
Each file format holds a description of objects, the parsers deserialize this 
info and "translate" it to a data structure that Away understands/can use.
Once this point is reached. Each and every bits of data is exactly the same, 
that you load from obj, 3ds, ac. collada or declare a new AS3 instance.

Fabrice

On Apr 27, 2011, at 1:28 AM, sven wrote:

> I have no experience with awd stuff, but with obj I had to clone the meshes - 
> cloning the ObjectContainer didn't work for me.. So maybe try something like 
> this in your loop:
> 
> fishArr[i] = ObjectContainer3D();
> for(var j:uint = 0; j<fish.numChildren; j++)
> {
>         fishArr[i].addChild( Mesh(fish.getChildAt(j).clone()) );
> }
> 
> cheers,
> sven

Reply via email to