How do i make a tween start with a velocity in math?

Is there a way to make the tween tween the height of the part like the green part in the video depending on the velocity of the previous tween?


velocity height test2.rbxl (53.6 KB)

I don’t quite understand what you mean. Could you rephrase it and explain what you’re trying to do at a higher level?

Simplest way to do this is by using math. You can try to determine the distance between the ending position and the starting position (making use of Magnitude), and then divide it by the amount of time it took to complete this tween to get a velocity. Then for your next tween, you can, again, calculate the distance it will travel, and divide the distance by the velocity you calculated to get the right amount of seconds you need for your second tweening function.

Of course, make sure you set the EasingStyle to Linear.

The height should tween towards the next calculated height depending on the difference in height from the previous tween like this

I don’t really understand well but what I’m seeing sounds like you could use FloatCurves. I can’t understand FloatCurves well but you could check out this video.