I'm trying to rotate this object on the Z axis but the rotation doesn't do what I want it to do. This bar is connected to a steering wheel so the bar should be fixed in this angle and just rotate and not move.
I tried to set the local axis with the help of the face on the top but it didn't work. When I rotate the axis it moves. I want to make an animation using key frames.
How can I fix this rotation problem?



