airbnb / lottie-ios

An iOS library to natively render After Effects vector animations
http://airbnb.io/lottie/
Apache License 2.0
25.67k stars 3.74k forks source link

Keyframe interpolation not working correctly #976

Open Kirow opened 5 years ago

Kirow commented 5 years ago

Check these before submitting:

This issue is a:

Which Version of Lottie are you using?

Lottie 3.1.1

What Platform are you on?

What Language are you in?

Expected Behavior

Expected smooth animation, same as for web.

Actual Behavior

Interpolation works incorrectly. If I change keyframes to linear - animation works fine.

Code Example

https://github.com/Kirow/lottie-ios-interpolation-bug AE file included

Animation JSON

https://lottiefiles.com/share/225lcU or here

buba447 commented 5 years ago

Im looking into this. Will update you when I find something. Thanks for holding tight!