I’m new to Unity, i’m building a 2D game. I would like to restrict rotation on the X and Y axis, and just allow rotation on the Z axis.
I was thinking of adding a rotation in the update function that would negate any rotation done by the physics engine. I don’t think that’s a good idea though…