title: How to prevent 2d object from rotating in unity?
body: <p>I'm making my first ever game (2D) in unity. And i just a flat character move on surface , and put some walls on the edge of screen to stop him from falling over map, but when he hit the wall he rotates. How do i prevent rotating?</p>