-
I was going to go for the [email protected] library but saw that reverse playback is not supported on model animations. Is this still a limitation in this library? Sort of a deal breaker for me, but I'd be open to any suggestions of alternative lightweight libs which support this. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
What do you mean by revrse playback exactly? Reading the animation from end to begin? |
Beta Was this translation helpful? Give feedback.
-
After diving a bit deeper into the ValueAnimator code, it works by just calling val animation = modelNode.renderableInstance.animate(repeat)
animation.reverse() |
Beta Was this translation helpful? Give feedback.
After diving a bit deeper into the ValueAnimator code, it works by just calling
.reverse()
as the call starts playing the animation in reverse and.start()
does not need to be called after as it will result in playing the animation in the forward direction again. Thanks for your help @ThomasGorisse