Hi!
//make cube
var geometry:Geometry = new CubeGeometry();
var cube:Mesh = new Mesh(geometry);
//make container for cube
var container:ObjectContainer3D = new ObjectContainer3D();
container.addChild(cube);
scene.addChild(container);
//random transform & positioning container
container.rotationX = Math.random() * 100;
container.rotationY = Math.random() * 100;
container.rotationZ = Math.random() * 100;
container.x = Math.random() * 500;
container.y = Math.random() * 500;
container.z = Math.random() * 500;
//QUESTION: i need to remove cube from container and add to scene in the same screen place. Anybody know how?
scene.addChild(cube);