I had a question earlier, but I have another question about something said in the post. Once again, here is the image of the rotation being wrong because the ball is not staying centered on the screen.
https://www.youtube.com/watch?v=ksNt3W_p5u8
I asked how do I keep the ball on the center of the screen. Here was the response:
QuoteAnyway, there are multiple ways you could get the behavior in that video. For example, you could transform an appropriate offset by the sphere's model/world transform to yield a camera position in world space, and then use a 'look at' transform to place the camera at that position and aim it at the sphere.
I an interested in all the ways to do this, and I 'm not understanding what this means, exactly. When I try to interchange World space and Camera space (use the same values for camera and translate) the ball isn't centered. Even when the camera is inverted.
Here's what it does:
https://www.youtube.com/watch?v=yCEwvnFEaRM
EDIT: the camera uses lookAt.