public static double SmoothDampAngle(double current, double target, ref double currentVelocity, double smoothTime) { double deltaTime = (double)Time.deltaTime; double maxSpeed = double.PositiveInfinity; return(Mathd.SmoothDampAngle(current, target, ref currentVelocity, smoothTime, maxSpeed, deltaTime)); }