Correct me if I’m wrong, but with Lerp and SmoothDamp you can tell the game to try and change one value (e.g. float) from one value to another (10 → 50) over a set amount of time, right?
Is there a way to change a value (again, float, 10 → 50) but at a maximum speed of X, independent on how long that will take?
Example.
Go from position.x = 10 to position.x = 50 with a maximum speed of (variable) 2, which would then take 20 “units” (I guess frames).
The best way for it would be (I think) if I could input: Start value, Target value, speed and deltatime