Coder Social home page Coder Social logo

Comments (6)

buba447 avatar buba447 commented on May 17, 2024 1

Finally looked into this! So its not actually the timing information thats causing the error, its the control point on the path. Its a linear path but it has a control point on the end. This is confusing Core Animation for some reason. It seems that core animation doesn't solely depend on timing functions for easing unfortunately. To fix this we will have to write a custom interpolator.

For now a quick fix is to just remove the control point from your path animation

screen shot 2017-02-24 at 10 41 19 am

from lottie-ios.

therealsalih avatar therealsalih commented on May 17, 2024

Can you send the AE file so we can test it out?

from lottie-ios.

lawsonshanks avatar lawsonshanks commented on May 17, 2024

@therealsalih Here is the AE file. Animation works fine in AE and the bodymovin preview, but seems to have a lag in the first y-axis position transform when run through Lotti.
drop-rotate.aep.zip

from lottie-ios.

therealsalih avatar therealsalih commented on May 17, 2024

Hi @nlogioco and @lawsonshanks I can see what the issue is here. it looks like there an issue with linear position keyframes. they look like they are easing even though they are linear. We will look into this ASAP! Thanks!

from lottie-ios.

catlan avatar catlan commented on May 17, 2024

@buba447 Thx!

We run into this issue with the first animation we created. May I suggest to add this as know issue in the readme.

from lottie-ios.

buba447 avatar buba447 commented on May 17, 2024

Finally found a fix for this!
Lottie has been completely rewritten in Swift as of 3.0 (#777)

I am closing all issues prior to this release to reduce the noise. If you continue to run into this issues or any issue with Lottie 3.0 please open a new ticket

For continued support of Lottie Objective-c please point to this branch: https://github.com/airbnb/lottie-ios/tree/lottie/objectiveC

from lottie-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.