Yep, you are experiencing gimbal lock.
when the game "prey" came out, I did a spherical world demo
and an "any orientation" wall walking demo that dosent
experience gimbal lock . Check those out to see my solution.


Not two, not one.