public static double MoveTowardsAngle(double current, double target, double maxDelta) { target = current + MathD.DeltaAngle(current, target); return(MathD.MoveTowards(current, target, maxDelta)); }