Hi everyone,
I have this little piece of code:

board = new Board(1500,20,1500); //extends Cube
camera = new TargetCamera3D({target: board});
camera.focus = 10;
camera.zoom = 100;
camera.z = -1500;
camera.y = 500;

away.view.scene.addChild(board); //away it's my UIComponent
away.view.camera = camera;

and I get this render: http://dl.dropbox.com/u/4064417/away3dboard.png

When the code is like this:

board = new Board(1500,20,1500); //extends Cube
camera = new TargetCamera3D({target: board});
camera.focus = 10;
camera.zoom = 100;
camera.z = 0;
camera.y = 500;

away.view.scene.addChild(board); //away it's my UIComponent
away.view.camera = camera;

I get this render: http://dl.dropbox.com/u/4064417/away3dtop.png

Instead, when it's like this:

board = new Board(1500,20,1500); //extends Cube
camera = new TargetCamera3D({target: board});
camera.focus = 10;
camera.zoom = 100;
camera.z = 0;
camera.y = 10;

away.view.scene.addChild(board); //away it's my UIComponent
away.view.camera = camera;

I get this: http://dl.dropbox.com/u/4064417/away3dtop2.jpg

Why this behaviour? It seems that the camera does not rotate itself to
look at the target object....
How can I solve it?

Reply via email to