LitMotion icon indicating copy to clipboard operation
LitMotion copied to clipboard

Anyway to control the amplitude and period of easing?

Open cfoulston opened this issue 11 months ago • 0 comments

Hey, just started taking a loot at LitMotion (coming from DOTween). Something I noticed is that you can't control the amplitude or period of elastic easing.

Would love to be able to define these. With DOTween, you set this directly on the SetEase method. For example:

transform.DOMoveX(4, 1).SetEase(Ease.OutElastic, 2, 0.5f);

You can also pass in custom easing functions, which is quite powerful.

PrimeTween has a similar concept: https://github.com/KyryloKuzyk/PrimeTween?tab=readme-ov-file#custom-easing

Tween.PositionY(transform, endValue, duration, Easing.Elastic(2, 0.3f));

Are there any plans to support controlling the amplitude and period of easing functions?

cfoulston avatar Mar 06 '25 18:03 cfoulston