Rotates currentAngle towards targetAngle, taking the shortest rotation distance. The lerp argument is the amount to rotate by in this call.
currentAngle
targetAngle
lerp
The current angle, in radians.
The target angle to rotate to, in radians.
Optional
The lerp value to add to the current angle. Default 0.05.
Rotates
currentAngletowardstargetAngle, taking the shortest rotation distance. Thelerpargument is the amount to rotate by in this call.