3D Math: Calculate Bank (Roll) angle from Look and Up orthogonal vectors
- by 742
I hope this is the proper location to ask this question which is the same as this one, but expressed as pure math instead of graphically (at least I hope I translated the problem to math correctly).
Considering:
two vectors that are orthogonal: Up (ux, uy, uz) and Look (lx, ly, lz)
a plane P which is perpendicular to Look (hence including Up)
Y1 which is the projection of Y (vertical axis) along Look onto P
Question: what is the value of the angle between Y1 and Up?
As mathematicians will agree, this is a very basic question, but I've been scratching my head for at least two weeks without being able to visualize how to project Y onto P... maybe now too old for finding solutions to school exercises.
I'm looking for the trigonometric solution, not a solution using a matrix. Thanks.