Closed jakob-leue closed 1 year ago
This sounds like https://github.com/KhronosGroup/glTF-Blender-Exporter/issues/232 – the exporter can only handle one rig per scene currently. Multiple actions are supported though.
Could you check on https://github.com/KhronosGroup/glTF-Blender-IO in Blender 2.8 as well, and if the problem recurs, attach a .blend
file to help us reproduce the issue?
The multiple action support works out phantastic for me. So I hotfixed it by converting the rig animation into morph targets, but would be supper handy to have it in the future. I also checked it on the 2.8 beta - exporting multiple rigs there causes weird mesh distortion when the animation is played as well as an offset in rotation as it seems. But I had no time investigate that further yet. I'll attach the .blend as well as the .gltf files I exported from 2.79 and 2.8. Thank you for your support!
Confirmed this bug is occurring in latest version of Blender 2.8 and glTF-Blender-IO, so I'm transferring this issue to that repository.
tested on https://sandbox.babylonjs.com/
(this model exports with duplicate bone names, so testing in three.js is currently problematic)
Can you please retest it?
Result attached: multiRigUnfold.glb.zip
The skins and animations are there, it looks like, but they don't play back the same way if you just play each animation simultaneously, as a viewer like mine will do... not sure if that can be fixed in the .blend, or if it requires support for timing of strips within NLA tracks...
Hello,
it seems like multiple rigs aren't supported yet? During this year, I tried to export multiple objects that are rigged (two characters eg) into .glTF, but always stumbling into issues. Trying out different settings, at the moment I'm in a status where only one action/rig works in the viewer/importer - the other rigs are ignored. I'm testing my exported scenes in the donmccurdy viewer - so do you think it's something exporter related or is it more an issue of three.js? Until now, I wasn't able to find a related issue yet, so thanks in advance and best regards.