- Code: Select all
Sprite > set angle > lerp(Sprite.Angle, 0, 0.05 * dt * 60)
which basically decelerate angle of the sprite towards 0. How to make it work the other way, so the sprite angle would slowly accelerate?
nemo wrote:Sprite > set angle > unlerp(Sprite.Angle, 0, 0.05 * dt * 60)
Users browsing this forum: No registered users and 0 guests