airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
30.54k stars 2.87k forks source link

support for skew #2570

Open Fnalsk opened 3 years ago

Fnalsk commented 3 years ago

In the most recent version of after effects, it appears that skew is unavailable under transform -> skew. Instead, you can find it by adding "transform" as an effect (right click a layer -> effect -> distort -> transform). This adds an effects menu to the shape, and you can find skew under effects -> transform -> skew. See below:

Screen Shot 2021-06-25 at 9 18 39 AM

bodymovin has support for skew on the web, but I suspect this only applies to the old skew found under transform -> skew. since my animation uses the new skew, I've been seeing unexpected results when I export as a lottie.

I imagine this should be relatively easy to add as it's probably just reusing the old code for skew support but pointing to the new menu.

bodymovin commented 3 years ago

Hi, AE never had support for skew on the main layers, but it does have support for it on transforms applied to shape groups. For now the Transform effect is not supported, but I'll see if it's simple to add it as soon as I can.