godot-3d-mannequin icon indicating copy to clipboard operation
godot-3d-mannequin copied to clipboard

The right thigh is rotated outwards

Open NathanLovato opened this issue 4 years ago • 3 comments

There is an issue with the exported animations, or with the import, where the character's thigh is rotated outwards, making the hip joint come out.

Screenshot from 2019-12-07 11-45-58

NathanLovato avatar Dec 07 '19 10:12 NathanLovato

@NathanLovato I looked into the issue. Whenever I import the glb file in blender and switch to the idle_root animation, the right thigh is rotated 103 degrees around the Y axis. image. I was able to fix it by resetting the rotations of the thigh, shin, and feet and updating the keyframes. I had a bit of trouble exporting the materials properly but the animations stored in this file should be good.

If a user wants to fix the issue on their local copy before the issue is fixed, all they need to do is import this new mannequin with godot and select "Files" for the animation storage option, then overwrite the existing idle_root animation with the new one

mannequiny-0.4.0.zip

aclave1 avatar Feb 05 '20 04:02 aclave1

I can verify that the fixed files do indeed work and fix the outwards rotation issue.

FeralBytes avatar Feb 01 '21 17:02 FeralBytes

Thanks much! The problem had to do with the importers back when we made the project, I had to use an alpha version of Blender back then that was bringing many improvements to the gltf exporter. Feel free to open a PR that updates the mesh, otherwise, I'll take care of it in the coming days.

NathanLovato avatar Feb 01 '21 22:02 NathanLovato