airbnb / lottie-web

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

valueAtTime is not working #2189

Open gerobatyo opened 4 years ago

gerobatyo commented 4 years ago

Hi

Just found Bodymovin and I maybe missed something. valueAtTime is not working. (latest Bodymovin, macOS Mojave 10.14.6, AE 2020)

bodymovin commented 4 years ago

Hi, valueAtTime should generally work, but if it references other properties with expressions, it might not work correctly. Do you have a simple example of where it is not working?

gerobatyo commented 4 years ago

Hi

Thx for the quick response. Here I attach the AE. The comp is the 01_Main. So, on the top there are 4 Shape layers, which are basically the opener. If you change the team left and team right text, those should change automatically. I tried so many ways, if-else, math.max, precomping them etc... I could't get this work on the Bodymovin json. If you can give me a solution that would be muchly appreciated.

thx in advance.

test_lottie33 folder.zip

bodymovin commented 4 years ago

unfortunately sourceRectAtTime is not supported

gerobatyo commented 4 years ago

that's interesting, in some of my other project it does work perfect, and this valueAtTime too, so just wanted to integrate to this project, and looks like dropped off everything. Thanks.

gerobatyo commented 4 years ago

hi, just found this https://github.com/airbnb/lottie-web/issues/300#issuecomment-331878018

is it supported or not then?