Open hybridherbst opened 9 months ago
The problem come from your armature being child of an object with non uniform scaling. That leads to non decomposable transformation matrix, and this can't be express correctly in glTF. The same way you have a "Flatten Bone Hierarchy", you now have a "Flatten Object Hierarchy" in Data => Scene Graph It seems to solve the issue.
It can be tricky to detect this case, especially during animation, explaining why there is no warning or error for now. Setting as enhancement for now, checking if we can check it for still scene at export
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior Correct skinned mesh or export warning telling me why it doesn't work![image](https://github.com/KhronosGroup/glTF-Blender-IO/assets/2693840/cbcaefbf-3036-4c95-8537-1245db15c501)
Actually: incorrect export![image](https://github.com/KhronosGroup/glTF-Blender-IO/assets/2693840/18f43610-9f90-4b90-9f46-648f07f0f063)
Screenshots If applicable, add screenshots to help explain your problem.
.blend file/ .gltf boneStudy.zip
Version
Additional Context:
Export is somewhat better but also not correct with "Flatten Bone Hierarchy" enabled