rive-app / rive-runtime

Downstream repo for Rive renderer
MIT License
620 stars 35 forks source link

Lottie to Rive #21

Closed IeuanWalker closed 13 hours ago

IeuanWalker commented 2 weeks ago

Not sure if this is the right place to raise this issue or not.

I'm trying to migrate from Lottie to Rive using the desktop app to import the lottie file and then export riv file. But the Rive animation renders the lottie file incorrectly.

This is what the lottie animation looks like - image

This is what Rive generates - image

Here is the lottie file - Location.json

bodymovin commented 2 weeks ago

Hi! the file has a mask of type subtract that Rive doesn't support unfortunately. That's why Rive shows the inner circle instead of the outer shape. Perhaps a work around can be remove the clip, grouping some paths and changing the fill mode of the inner path.