Hey everyone!

I'm starting a new project and i'm already stuck!

I'm trying to add the linear interpolation on a sprite's angle, but I may have to make a workaround for it to work as I wanted.

You see, the problem appears because you have angles from 0 to 359 degrees. Once you make the whole circle, it goes from 359 to 0 again. But since the interpolation uses the angle to calculate the distance, once you reach 359 them go to 0, the sprite will go back from where it came, making a really bad movement

What would be the best way to solve this? I'm trying to make variable that is always adding or subtracting the angles, so instead of 45 on the second turn I'd have 360 + 45, but still didn't manage to do it (working on it as I post this).

Here's a .cap for evaluation!

http://www.gamma-beam.com/construct/lerpangle.cap

On Adobe After Effects you have, on the angle controls, a counter that tells you how many turns it has done. It is displayed as *"3 x 60�"*. I don't know if that is a good thing for construct, but maybe knowing how many turns an object has performed would be a nice addition. I don't know, I'm just throwing things here

Thanks in advance!

Gammabeam