Export to GLB of unmodified model with animations is having deformations on bones

I am using a glb with animation and trying to export it as such without any alteration.

image

But, the export to GLB is having deformations on bones.
It is reprocible in Babylon Sandbox.
external-glb.zip (105.2 KB)

image

I think this issue is open in latest version too.

Thanks a lot for the repro. @bghgary could you have a look into it ?

This will likely take a bit of time to figure out. Will try to investigate as soon as possible.

1 Like

Thanks a lot. It will be very helpful.

This PR should fix the problem: Fix skin export by bghgary · Pull Request #11168 · BabylonJS/Babylon.js (github.com)

If you have morph targets, this other PR is also useful: Fix issue with glTF delay loading of morph targets by bghgary · Pull Request #11169 · BabylonJS/Babylon.js (github.com)

3 Likes

Wow. It works. I just pulled your code and ran it.
Thank you.

1 Like