How to lock player collision box?

I have a box collision for the player but I dont want it to rotate when the player is rotating.

This causes the camera to jitter when the player is next to a wall. The collision box’s rotation pushes the player away from the wall. How can I lock the box collision’s rotation and not the camera’s soo the player can still look around?

YouTube video for explanation

Hey @User-1b537cd87c.

Have you tried using a capsule collider instead of a box collider? Typically that’s the way to go, this being one of the reasons.