Lottie-web: Shapes broken in Bodymovin

Created on 15 Jun 2019  路  5Comments  路  Source: airbnb/lottie-web

Tell us about your environment

macOS Mojave 10.14.5

  • Browser and Browser Version:

Firefox 67.0.2 (64-bit)

  • After Effects Version:

16.1.1 (Build 4)

What did you do? Please explain the steps you took before you encountered the problem.

  • Installed Bodymovin via https://www.adobeexchange.com/creativecloud.details.12557.html (also tried from GitHub repo at https://github.com/airbnb/lottie-web/tree/master/build/extension)

  • Opened stock animation teamwork_13.aep in After Effects

  • Selected teamwork_13 in Bodymovin, selected Desktop as destination

  • Pressed Render (using Demo setting)

  • Realized shapes are broken opening demo.html in Firefox

  • Looked at preview in Bodymovin, same issue

What did you expect to happen?

I expected the demo would look the same as exporting to video

What actually happened? Please include as much _relevant_ detail as possible.

What it should look like:

Screen Shot 2019-06-15 at 8 53 49 AM

What it looks like in preview:

Screen Shot 2019-06-15 at 9 08 21 AM

Probably a newbie config error but can鈥檛 figure it out after spending half an hour searching the web. Hope someone can help.

Please provide a download link to the After Effects file that demonstrates the problem.

https://sunknudsen.com/teamwork_13.aep

Most helpful comment

Hello, great art, and good news! It is indeed a very simple config error. Make sure that "Hidden" and "Guides" are enabled in your config:

ice_screenshot_20190615-073932

Which produces the correct positioning for limbs:

ice_screenshot_20190615-073923

As a general rule of thumb, I've noticed that whenever I have layers/shapes unexpectedly going to the top left of the screen, it's because I'm missing a layer in my parenting chain so it's position defaults at [0,0]. In this instance, the BaseHose of a Rubberhose arm (the actual stroke) is trying to find two guide layers (Wrists and Shoulders) and use their positioning as a reference -- but unless the config includes Guided layers, the Basehose doesn't find any layer to correctly reference and defaults to [0,0] (which is the exact top-left corner of the animation).

All 5 comments

Hello, great art, and good news! It is indeed a very simple config error. Make sure that "Hidden" and "Guides" are enabled in your config:

ice_screenshot_20190615-073932

Which produces the correct positioning for limbs:

ice_screenshot_20190615-073923

As a general rule of thumb, I've noticed that whenever I have layers/shapes unexpectedly going to the top left of the screen, it's because I'm missing a layer in my parenting chain so it's position defaults at [0,0]. In this instance, the BaseHose of a Rubberhose arm (the actual stroke) is trying to find two guide layers (Wrists and Shoulders) and use their positioning as a reference -- but unless the config includes Guided layers, the Basehose doesn't find any layer to correctly reference and defaults to [0,0] (which is the exact top-left corner of the animation).

Amazing, thanks so much @Inventsable!

No problem! Have fun with the library, should work well for such great art.

Shout-out to Pijus for the artworks. 馃檶

Hello, great art, and good news! It is indeed a very simple config error. Make sure that "Hidden" and "Guides" are enabled in your config:

Oh gush! Thanks a lot!
Thought to open a new RubberHose/Lottie export issue topic but have found this one :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leantide picture leantide  路  3Comments

ochanje210 picture ochanje210  路  3Comments

cpdt picture cpdt  路  4Comments

joelponce picture joelponce  路  4Comments

ritsraghani picture ritsraghani  路  3Comments