Need to know if there is a more practical way to do this. I need to change between two angles at a constant speed. The angles are for instance 5f start and -50f end
a lerp is useless
When I want to move between to places at a constant speed i can use vector2.movetowards but I can’t do a float.movetowards so I have king of faked it by doing this
theAngle = (Vector2.MoveTowards(new Vector2(theAngle,0),new Vector2(EndAngle,0), lerpSpeed * Time.deltaTime)).x;
now i know there HAS to be an easier way to do this. Sometimes the angle goes from positive to negative sometimes negative to positive. sometimes positive to positing up or down. Etc. The math is there but I seem to be pulling a blank on this one.