Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

I think you are using Euler angles coordinate system; inevitably became gimbal locked, I would consider looking up and using Quaternions which make for a much smoother control system.  Definitely hard to wrap brain around but once you code it it makes things so much better!