Hi, I am trying to work out how to look at a point clicked on a sphere.
Here is where I am at so far: http://www.allforthecode.co.uk/development/away3d/lookat_point_on_sphere/ >From what I gather I have two options: 1. Move the cameras position and look at an object created at the point or 2. Rotate the sphere The problems I am having are: 1. The HoverCamera3D appears to have its position locked it's x,y,z cannot be modified.. or can it? I tried slapping TweenLite on its x,y,z properties and nothing happened. 2. The HoverCamera3D tends to zoom out when looking at the top and bottom of the sphere which makes me think the best way to do this would be to rotate the sphere to prevent the object distance change. 3. Rotating the sphere using MouseEvent3D.sceneX,sceneY,sceneZ (the point of click) to face the camera, I appear to be getting it look at 1 side of the sphere only. 4. I have also tried using some pythag to calculate the angle I need to rotate the sphere to look at the camera but using sceneX,sceneY,sceneZ doesn't appear to give me the values I need to work with? or do they? Any ideas on the best way to find the angle I need to rotate a sphere from it's click point? sceneX,sceneY,sceneZ to look at the camera? Any ideas on the best way to go about this? Thanks Darcey
