Demigiant / dotween

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

SetSpeedBased(true) doesn't work on DoJump() #578

Open Benji19-97 opened 2 years ago

Benji19-97 commented 2 years ago

transform.DOJump(target, height, 1, speed).SetSpeedBased(true).SetEase(Ease.Linear); Does not behave as expected.

0kk470 commented 11 months ago

For anyone struggling with this, remember DOJump returned a sequence which is not affected by SetSpeedBased . image

image

So you have to calculate the duration based on the speed yourself.