First of all, I’m going mad trying to figure out how to do this :o. So, i have a spaceship in my game I’m working on. I want the player to move the mouse to make the spaceship rotate “Up” (On the X / Z axis). The problem is: Lets say i rotate it on the X axis, that works fine. But if the player has turned the spaceship, it needs to be on the Z axis. Or what if its in the middle? Then it would have to be some of both of the axises. I cant figure out how i can detect this and adjust the rotation to work.
Thank you vary much for your help.