Basically what I'm trying to do is get a sprite to tilt left or right, depending on which key is pressed, but i would like this to happen in a smooth motion, so i figured lerp would work, which it does, but only for one direction.
In the cap below, you can see that when the right key is pressed it rotates clockwise to a 45 degree angle, however when the left key is pressed it still rotates clockwise to get to 315 degrees.
http://dl.dropbox.com/u/6660860/lerp.cap