dotween
dotween copied to clipboard
SetSpeedBased(true) doesn't work on DoJump()
transform.DOJump(target, height, 1, speed).SetSpeedBased(true).SetEase(Ease.Linear);
Does not behave as expected.
For anyone struggling with this, remember DOJump returned a sequence which is not affected by SetSpeedBased .
So you have to calculate the duration based on the speed yourself.