quote:Original post by DrEvil
Can't you make a very simple and easy hard attach camera if you multiply the objects matrix by an "offset" matrix and use that for the cameras matrix?
No, because the initial plan was to have the camera to always point to the object it is following so that the object is in the center of the screen.
So basically what I want is my N vector pointing towards object.center
Edit: Yeah, I wasn't really clear in the beginning. I don't want to have any approximations at all. I just want my camera to point to the center of the object, and I got confused what Thoor said, since fundamentally his approach too needs to have the camera adjusted via trig (PI/12).
Apparently I'm left with vector equations UxVxN=0 where N is the only one I know.
[edited by - Captian Goatse on October 22, 2003 2:08:38 PM]