# how to get the location that camera points to?

who can explain Euler rotation vector and object matrix for me?

what does Euler rotation vector stands for? It seems not the object’s Rot[XYZ] that we can find in the NKey Transform Properities window.
If i want to get the project of camera on a plane, how can I use its object matrix?
Thanx.

…of course Euler is what you get with N key but it’s
expressed in radians not in degrees like Nkey does.

Click on the “3D Maths” tab then the “Algebra” tab. It has any formula you could need for vectors, matrices, and quaternions.

I should make the question more clear:
I want to use http://inkulator.sourceforge.net with Blender, so I need to export the location of what the camera is looking at. I think the camera info looks like that one of a line, which contains a start point and a end point. I know how to get the location of a camera, which corresponds to the start point, but how can I get the end point of the camera?
This code fails to get a correct value: add an Empty at (0,0,0), add a Camera and move it to some where. track (old fasion) the Camera to the Empty. clear the rotation of Camera (Alt+R). the code gives [0.0, 0.0, 0.0] instead of the true value :o

from Blender import *