what’s the different between .Lerp & .SmoothDamp??
1 Answer
1Lerp will evaluate a linear function from A->B
SmoothDamp will evaluate a “spring-damper like function” from A->B, according to the docs.
Below are some pictures that should illustrate the difference.
Linear function:
![]()
Spring Damper:

For additional comparison, here’s a sigmoid function:
![]()
I would recommend posting your code with the code button ![this][1] Also, I don't think you fully understand if statement and/or for loop (not dissing u btw). I would suggest you watch these videos which might make things clear for you[if statements][2] and [for loops][3] [1]: https://i.imgur.com/xaUhDXw.png [2]: https://learn.unity.com/tutorial/if-statements [3]: https://learn.unity.com/tutorial/loops-z2b
– aardappel156