Rotation on Z axis

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Chevon

I know this might be something simple im overlooking but Im working on a spaceship that has SDOF but whenever I rotate on its z axis every other axis get out of wack.
the space ship is a Kinematic Body,
im incrementing rotation_degrees.x,y(pitch, yaw) by mouse motion event but i’m using button for rotation_degrees.z rotation(roll in flight speak)

I did do the tutorial on how to handle rotation but it was focused on the x and y rotations only.

I dont think I need to post any code since its probably a common question.

I also have the camera as the child node of ship