2D rotation interpolation

BlitzMax Forums/BlitzMax Programming/2D rotation interpolation

Haramanai: I usually keep the ATan2 values, simply because that's the way I've always dealt with polar coordinates. But SetRotation expects 0-360, so you will need to correct for that.

The r0nin:
Angle = Atan2(yd,xd) + 90
If Angle > 180 then Angle :- 360