Yea in some way u are right. But as u can see i use different cframe in my script and it works right
No, you ARE wrong, you don’t need to lerp the value like that, it’s perfectly functional and looks significantly more smooth that way.
No, it doesn’t work right. Try updating the lerp less frequently and you’ll notice it doesn’t complete.
https://gyazo.com/8a3e6f675dab720279b4878160742567.mp4
Reaches it
(lerp has minimal value (for alpha = 1) that cant go lower (the magnitude is always bigger than 0))
well yeah, but we’re not tweening the alpha value like how you want to, that’s what would happen if you did it that way. Lerping with a decimal values makes for a more exponential curve instead of the linear method of lerping that you are talking about. Lerping is linear interpolation, which is why this is not a linear value:
It seems to be also related to the atan function. You must be resetting from a 360 and it causes choppy movements.
Tbf after all depending which CFrame u use the lerp will be either linear or logarithmic
Yeah i should’ve said logarithmic. It looks significantly more smooth that way.
This works without the lerp, when it lerps it doesn’t “catch” up.
You could try using a spring, Quenty has a very nice spring here: NevermoreEngine/src/spring/src at main · Quenty/NevermoreEngine · GitHub
When are you calling your function? And how many times?