.dae animation won't work


I have this submarine that I’ve animated in Blender. However, when I import it into my Three.js file, I’m not able to get it moving. My goal is to get the rotor rotating. I do think I used the right code but I’m not a 100% sure. If this doesn’t work it’s probably the model that hasn’t been exported correctly.

This is the code:

Anyone sees any wrong code? Or is it really in the model?

It seems your DAE file contains no animation data. The parsed animation clip has definitely no keyframes (the tracks array is empty):


It was also not possible to run your animations with sketchfab. I suggest you do two things now:

1 Like

I used the GLTF loader and it worked indeed! Thanks @Mugen87 :slight_smile: