How do you calculate pitch & yaw for a camera so that it faces a certain 3D point?
- Camera X, Y, Z
- Point X, Y, Z
Current Half Solution
Currently I know how to calculate the pitch, and I do that using the following.
Then if $(dy>0)$ pitch gets negated. ($pitch:=-pitch$)
The Main Question
So how would I go about calculating the yaw?
This is the orientation of my axis.
Answer - Thanks to Omnomnomnom