Am I right about the fact that lerping can be done over a set period of time or at a speed which will continue until the target is reached?
How are the formulas for the two? Is it something like this?
LERP at speed:
// does not use start value but instead current value
newValue= Lerp (currentValue, targetValue, Time.deltaTime * speed);
LERP over set duration:
//uses startValue and calculates the progress percentage over time
var newValue = Lerp (startValue, targetvalue, percentage);
percentage= (Time.time - startTime) / duration;