yapstudios / YapAnimator

Your fast and friendly physics-based animation system.
https://yapstudios.com
BSD 2-Clause "Simplified" License
1.94k stars 78 forks source link

Control duration of animation? #8

Closed saoudrizwan closed 7 years ago

saoudrizwan commented 7 years ago

Is it possible to change the duration length of the animation? From a quick glance it seems like YapAnimator calculates a nice duration based on the bounciness and speed, right?

olliewagner commented 7 years ago

The duration is influenced by the speed and bounciness as you guess, but there is no explicit duration tied to any animation — it simply stops when it comes to rest.