I'm creating an application for academic purpose. It consists in an object positioned in the center of the scene (0,0,0) and then I generate the points of the bounding sphere of this object. Then I must to go through all this points and do some calculations allways looking at the center of the object.
To do that I'm using the setAutoTracking method from the camera class, so I only have to change the camera position because it is allways looking to the target object. But my problems appears at the top of the sphere. When the camera has to look towards negative Y axis it looks to another direction. That's strange because it is the only point where it happens. And the most strange thing is the fact that updating the direction of the camera manually using lookAt method (camera looks to (0,0,0) ) doesn't seem to work too.
Some ideas are welcome
Thanks in advance!!!

