Hi!

Maybe some math's guru here could help me o this problem I'm moving a cursor over a grid in 3D using the keyboard, so it moves in 6 fixed directions. The camera rotates around that cursor, and the problem is that the controls become confusing, since for example, I'm looking at the cursor from behind, and now right is left and left is right. I could turn the cursor in order to make it move properly, but I need some formula to turn it 90 degrees, so it keeps on the right path thru the grid. How could I calculate the yaw of that cursor depending on the yaw of the camera? The angles are radians.

Regards!