Locking Rotational values

Rightio, there’s a bit of a tiffle that I have for you guys, it may be simple, it might not.

I’m wanting to lock the rotation of an object, but still have it be physics enabled (currently making a player controller to go on other planes of gravity)

Note the player is moving side to side, kind of looks cool, but also causes jumps when it slides along the ground.