riven.zip
The mesh loads and everything, and the animation's tracks doesn't and its duration is 0, this happens on some models
Um, I'm not able to unzip your file on my iMac. Can you also share the file via e.g. Google Drive?
The loader can't handle the file because it is unable to parse nested animations: #13981
Besides, the loader only supports the matrix transform type. Your file however does use different types like scale.
I think it's unlikely that the loader will support these features in the next time so it's probably better to convert your asset to glTF instead.
https://github.com/KhronosGroup/COLLADA2GLTF
Or, if possible, export to glTF in the first place.
Yep, i did convert it, but the model gets mutated / ruined ?
Um, probably because of the special transform types. I've once tried to convert the old pump Collada model which was used in our keyframe animation example. We had to completely replace it because I've found no tool that could convert the model to glTF.
Unfortunately, this part of the Collada spec is very complex and hard to map on three.js's animation system. Hence, I doubt ColladaLoader will ever be able to handle such files.
Closing. I'll mark this issue as a duplicate of #13981. Implementing nested animations is the first step that needs to solved.
Most helpful comment
The loader can't handle the file because it is unable to parse nested animations: #13981
Besides, the loader only supports the
matrixtransform type. Your file however does use different types likescale.I think it's unlikely that the loader will support these features in the next time so it's probably better to convert your asset to
glTFinstead.https://github.com/KhronosGroup/COLLADA2GLTF
Or, if possible, export to
glTFin the first place.