Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would one determine the delta or "speed" a lerp should have in order to reach the CFrame wanted?

Asked by 5 years ago

As said in the title, I am wonder how one would find the speed/delta at which a :lerp() should have. I am aware that the velocity or speed of something is delta time or change in time, over the distance, however you cannot simply just use this equation to determine the speed/delta for a CFrame:Lerp() function, am I correct? If so, how would I do so?

0
Just curious - why? DaCrazyDev 444 — 5y
0
If one were trying to add a multitude or animations to a reload, and you had one stage a specific length of time, and a second stage with any other. You would want to have the speed of the lerp correlative with the time, yes? Stephenthefox 94 — 5y
0
kind of. When I made guns, I made my own lerp function (also before tweenservice existed) to be the same speed throughout it, at whatever speed I set it at. You just have to understand linear equations DaCrazyDev 444 — 5y

Answer this question