Can we remove the smoothing translate with DoMove?

1k Views Asked by At

i got a problem when i want to use DoMove function with DOTween it move to the given point but slow at the end and i want to remove if is it possible.

1

There are 1 best solutions below

0
Sisus On BEST ANSWER

You can use Tween.SetEase(Ease) to change the easing type:

transform.DOMove(position, overTime).SetEase(Ease.Linear);

You can also change the default easing type through DOTween.defaultEaseType.

DOTween.defaultEaseType = Ease.Linear;