Hi everyone, consider the following: 600px wide layout.
I'm having trouble doing the following mechanics: At the top of the layout I have a cannon that I would like to rotate to the right as I drag my finger on the screen to the right and that rotates to the left as I drag my finger on the screen to the left.
I can currently do it like this: anglelerp(Self.Angle, angle(Self.X, Self.Y, Touch.X, Touch.Y), 1 - 0.000001 ^ dt)
But when I simply touch the screen it already corrects for that touch.
I would like me to have to drag it to the right and when I release it it stays there, when I touch it again it stays in the same place but adds or subtracts the angle as I drag my finger.