Gradually moves current angle towards target angle (in degrees).
current
target
Current value.
Target value.
Current velocity.
Approximate time to reach the target.
Delta time.
Optional
Max speed (defaults to infinity).
[current, velocity] = math.smoothDampAngle(current, target, velocity, smoothTime, dt); Copy
[current, velocity] = math.smoothDampAngle(current, target, velocity, smoothTime, dt);
Gradually moves
currentangle towardstargetangle (in degrees).