Hi, folks.
Why when multiple objects are loaded the material is not applied?
Exemple(loading six objects exported from preFab3D):
var obj1:Object3D = AWData.load("../resources/Element1/Element1.awd",
{rotationX: 90});
var obj2:Object3D = AWData.load("../resources/Element2/Element2.awd",
{rotationX: 90});
var obj3:Object3D = AWData.load("../resources/Element3/Element3.awd",
{rotationX: 90});
var obj4:Object3D = AWData.load("../resources/Element4/Element4.awd",
{rotationX: 90});
var obj5:Object3D = AWData.load("../resources/Element5/Element5.awd",
{rotationX: 90});
var obj6:Object3D = AWData.load("../resources/Element6/Element6.awd",
{rotationX: 90});
Only the last object is loaded correctly, with material applied.
Exist a best way to do this?
Any suggestion?
I am using Away 3.6.
Thadeu Henrique