Hello! I want to make a decay animation whose velo...
# compose
l
Hello! I want to make a decay animation whose velocity can be changed by user input (say every time user press a button the velocity goes 50f higher from current velocity). How to do that?
z
Create an
AnimationState
, then to interrupt the animation cancel the coroutine,
copy
the animation state to pass in a new velocity vector, and launch another animation