I need to make an animation to change object position with the acceleration to the center and slowing to the end.
I have 2 values: CurrentPos
and PosWhereNeed
.
I have some formula: CurrentPos + (PosWhereNeed - CurrentPos) / Modifer
(Modifer
controls the speed).
But this formula has a sharp beginning without acceleration, only slowing on the end.
And it has some drops on the end (not slow changing position).