(for more context, see the ExCollada.as demo)

loader = new Loader3D();
loader.loadGeometry("assets/myCollada.dae", collada);
loader.addEventListener(Loader3DEvent.LOAD_SUCCESS, onSuccess);

var model:ObjectContainer3D = loader3D.handle as ObjectContainer3D;
var meshData:MeshData = collada.containerData.children[0];

_minX = meshData.geometry.minX;
_maxX = meshData.geometry.maxX;
_minY = meshData.geometry.minY;
_maxY = meshData.geometry.maxY;
_minZ = meshData.geometry.minZ;
_maxZ = meshData.geometry.maxZ;


-----

Your DAE files may differ, for me this works because there is only one
child in my Collada


On Oct 14, 2:06 pm, ben <[email protected]> wrote:
> Yes currently you can't access them in Lite, that's why we have to
> find a trick, and you are on the right way.
>
> but how do you acess MeshData from your Object, I take a look at the
> class and didn't see an evident link ??
>
> ;-)

Reply via email to