how to get 3DS model width heigth and depth

Software: Away3D 4.x

datouaizi, Member
Posted: 14 December 2011 05:57 AM   Total Posts: 98

furniture = Mesh(_loader3D.getChildByName(_name).clone());

I clone this 3ds child model as Mesh.then I want to figure out this Mesh width,then I trace (furniture.maxX,furniture.minX);
the result is (0,0)  why? what should I do ?


furniture = Mesh(_loader3D.getChildByName(_name).clone());
this.addChild(furniture); 
trace(furniture.minX ,furniture.maxX)

-8.070592825939619e-21 ,2130

what hell of this ?myfurniture only 2m width, 3m length!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X