Freezing Rigidbody2D rotation ?

Hey Guys,

I have a character which has a Rigidbody on it. I freeze all his rotation on it so for example when I run into a wall, he stands still. But since it is a 2d character, I changed it for Rigidbody2d and I can’t seem to find a way to freeze my rotation on my rigidbody2d so now my character will always fall and rotate which I don’t want. Note that the line I use to move my character is something like that.


Does anybody has an idea to achieve this result ? I’d really like to keep using the rigidbody2d if possible.

Thanks a lot for your time :slight_smile:


I also noticed that constraints were missing on the rigidbody2D. There is, however the option to fix the angle on them.