|Topic was automatically imported from the old Question2Answer platform.
How do I rotate a sprite to an angle linearly like if its to rotate from 0deg to 90deg I want to rotate linearly at a speed of 10 deg/sec
What do you mean by not lerping? Do you mean by using
Magso | 2020-07-04 22:18
So you want to do a linear rotation that does not involve linear interpolation?
Ertain | 2020-07-05 00:22
@Magso Its just a simple sprite not a Rigidbody2d so add_torque would not be present.
Also add_torque wont stop once it has reached the target angle in my case the global_mouse_position.
@Ertain yes I wanted to do a linear rotation like 90deg/sec or 75deg/sec towards the target angle and stop at target angle.
Vignesh S | 2020-07-05 06:52