Hi,

I am having a real problem with the Camera3D:

I created a camera3D camera. As an example I set the camera position
to (0,12,0) and set its lookAt to (-1,12,0). So the camera is at the
center of world (albeit higher on the y plane) and is looking to the
left (down the negative x axis).

I then place a cube (width,height,depth all set to 20) and set its
position exactly equal to the camera position i.e (0,12,0).

The problem is that the cube appears in front of the camera. I dont
understand this. I expect that if the cube's position is set to the
position of the camera, then I shouldnt be able to see the cube. Or at
least I should only see a bit of the cube. But I am seeing the whole
cube in front of me. In fact only when I set the cube's position to
around (50,12,0), then the camera is inside the cube.

Please please can somebody explain this and how I can overcome it? I
have spent hours today trying to understand this problem and its
driving me mad :(  I would really appreciate some help.

Many Thanks!

Reply via email to