Hello!
when i load an obj file, i would need to get the names of the
childrens,
I load models using this code:

var model = new ObjectContainer3D();
objLoader    = new Obj();
model   = objLoader.parseGeometry(f360);

having checked the *.obj, all the names are saved correctly,
but in Away3D, when i try to get the names of the objects using this
code:

for (var cObject:int = 0; cObject < model.children.length; cObject++)
{
trace(model.children[cObject].name);
}

it gives this (i also set debug to true):

 + Build Mesh : null
 + Build Mesh : null
null
null

It would be awesome if somebody would know what to do!


Reply via email to