Hi Guys, I think this is a bug?
Example 1 of bug: http://www.allforthecode.co.uk/development/away3d/bug/example1/Room01.html Example 2 of bug: http://www.allforthecode.co.uk/development/away3d/bug/example2/Room01.html Example 3 of bug: http://www.allforthecode.co.uk/development/away3d/bug/example3/Room01.html Full source available at: http://www.allforthecode.co.uk/development/away3d/bug/ To the point: I was creating a cube out of planes, when I was debugging the planes position this keeps happening. // all other planes code above last plane code start... backPlane = customPlane(cubeSize,cubeSize); backPlane.x = 0; backPlane.y = cubeSize/2; backPlane.z = -cubeSize; backPlane.rotationX = 90; backPlane.rotationY = 0; backPlane.rotationZ = 0; backPlane.name = "backPlane"; new DebugItem3DPosition(stage,backPlane); view.scene.addChild(backPlane); // SHOW BUG animate(); } // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ private function animate():void { TweenLite.to(backPlane,4,{z:(cubeSize+cubeSize/2),onComplete:goBack}); } /// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ private function goBack():void { TweenLite.to(backPlane,4,{z:400,onComplete:animate}); } // ------------------------------------------------------------------------------------------------ Darcey
