Acceleration of TweenService

Hello. So I wanted to ask if there is to way to make acceleration and deacceleration of TweenService used for movement. I’m working on a train, and when it moves too slowly the whole time, it’s useless to take it, as you can walk, and if it moves too fast the whole time, it just doesn’t look too good. Could somone help me to create the script?

(I’m tweening CFrame of just a single part, other parts are welded to the PrimaryPart)

1 Like

I think what you’re looking for is EasingStyles.

You can find examples of how to use it on the TweenService:Create() page.

2 Likes

Well I found the easing styles I could use, thanks for that, but those are only for acceleration, and not deacceleration. Or at least I didn’t spot that. Do you know any way how to deaccelerate tweenservice?

2 Likes

Oh nevermind, I just had to use Enum.EasingDirection.InOut, that solved it. Thank you very much!

2 Likes