Rotating the camera and rotating an object are two VERY different things.
Please show us your backspace and arrow-up handlers.
On a side note: I seem to remember an identical project from a user named @Krungle. While it’s perfectly fine to start a new thread for a new aspect of your project, there is no need to change your username, too