Michael, here is a screenshot: http://picasaweb.google.com/lh/photo/2bL_ZJ57ps_KANJMhAkYhCc8VkPW6FAEcGO0ITQAEVo?feat=directlink
Camera3D position is set to (0,15,0) and lookAt is (-1,15,0). The Cube has width,height depth of 5 and its position is (0,2.5,0). Looking at the screenshot you can see that the Cube is on the ground but slightly ahead of the camera. It should be directly below the Camera right? What is going on here? Any help appreciated - thanks! On Nov 4, 10:29 pm, jonny <[email protected]> wrote: > Thanks for responding Michael. > > I cant show a screen right now but can show one tomorrow morning. > > Further info: I am using the away3D primitive Cube object not a custom > cube. I set bothsides to true so as to the inside of the cube. > > Its almost as if the camera is looking from a position behind the > position its set to. What could it be? > > On Nov 4, 9:02 pm, Michael Iv <[email protected]> wrote: > > > > > can you show a screenshot? Have you inverted cube normals.?Because if you > > did not you can't see the cube from inside > > > On Thu, Nov 4, 2010 at 10:14 PM, jonny <[email protected]> wrote: > > > 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! > > > -- > > Michael Ivanov ,Programmer > > Neurotech Solutions Ltd. > > Flex|Air > > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://www.meetup... > > Tel:054-4962254 > > [email protected] > > [email protected] Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
