I'm using Yann's great Angle lerping technique to rotate my layer, according to the angle of the player.
<img src="http://i.imgur.com/vYwAO.jpg" border="0" />
However, whenever you go around 360 degrees, the lerp suddenly decides to rotate the other way, completely disorienting (and scaring :D ) the player, most likely killing them.
Any way of accomplishing this without the weird side-effect?
I tried playing around with/adding the %360's, but it doesn't seem to have much effect.