Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.36k stars 350 forks source link

SetEase doesn't work with DoPath #201

Open Darkwing-Duck opened 6 years ago

Darkwing-Duck commented 6 years ago

Hi, I have some specific issue with DoPath method. I use the code: token.transform.DOPath(path, duration).SetEase(Ease.OutBack) But it will not animate as I expect. It is some sharp animation. But when I use Linear easing its works fine. But I need just OutBack easing.

How I can use easing functions with DoPath method?

robotogre commented 5 years ago

I would also love it if Easing worked with DoPath().

Neum9 commented 4 years ago

I alse meet this problem.

Demigiant commented 4 years ago

Hi,

Easing does work with paths, except for eases that would go beyond (or before) the path. So normal curves like OutQuad/etc are ok, but curves that go beyond 1 or below 0 are not (because there's no way for a path to know what to do when the curve exceeds its limits).

Neum9 commented 4 years ago

I see, thank you.