Here's my Problem:
<img src="http://s14.directupload.net/images/130212/okp4otgz.png" border="0" />
I tried to add physics to the character, but it causes uncontrolable rotating up and down the hills. The only solution I can think of at the moment, is to align the players angle to the nearest point of the ground's collisionmask on every tick, but i have no idea how to to that.
please help me <img src="smileys/smiley12.gif" border="0" align="middle" />