How do I add an auto-jump feature or stop the player from flipping out for my 2D game?

Hello! I am making a 2D sandbox game and I am new to C# as well as Unity. I’ve come across a problem I’ve been trying to fix for a while now but can’t seem to figure out. When I have the player character walk, and I try jumping, sometimes it gets caught and flips around and such. It isn’t too big of an issue but is definitely a bug I think should be fixed before release. I use quads for terrain, and a rectangular hitbox for the player. I am using a polygon collider for said character. I thought perhaps if I added auto jump (Like in Minecraft) that could at least help. I’m sorry if this is obvious, I’m new ^^'. Thanks for your time!

Maybe a way to stop or lock rotation?

If you’re using the rigidbody2d, there should be a toggle on it to constrain the rotation.

Ok! I’ll look at that!