LottieLoader.js ... error needs bodymovin?

hi, anyone familiar with the LottieLoader.js in three.js?
I’m getting the error “Uncaught ReferenceError: bodymovin is not defined”.
only reference of it is in LottieLoader.js line 28
const animation = bodymovin.loadAnimation( {

I know bodymovin is an after effects exporter, but there is also the new lottieFiles exporter plugin.
i’m using example lottie files from lottieFiles.com
Creative Folder - Lottiefiles

how do i do this without bodymovin??
or what do i need to load to have bodymovin work?

i used https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.3/lottie.min.js in addition to loading lottieloader.js,
with success.

1 Like