godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.5k stars 21.07k forks source link

Can't Import shape keys animations from Blender using GLTF2 #38443

Closed Janders1800 closed 1 year ago

Janders1800 commented 4 years ago

Godot version: 3.2.1

OS/device including version: Ubuntu 18.04

Issue description: I'm unable to import the animation of a shape key form Blender, the shape key object and the rest of animations get imported OK shapes

And I can manually animate it inside Godot, but I cannot import the animation.

Steps to reproduce: Export Suzanne to Godot using GLTF2

Minimal reproduction project: SuzanneShapeKey.zip

fire commented 4 years ago

The animation sliders in Godot don't move the shape keys manually in Godot either, so it's not an animation player problem.

Still looking.

Janders1800 commented 4 years ago

Note: I use this settings to export. Captura de pantalla de 2020-05-04 00-24-32

And the slider works Ok for me, I edited the first post to add an image

Janders1800 commented 4 years ago

I tested with another blend and it seems to try to import something (totally broken), at this point I don't know if the problem is some obscure setting in Blender. Captura de pantalla de 2020-05-04 00-30-36

I can't share this file, this character was rigged using Rigify.

fire commented 4 years ago

Rigify needs the baked version, not the raw blender skeletal.

fire commented 3 years ago

I had to apply the modifier as a shapekey.

Also the action was attached to the wrong animation.

image

image

Janders1800 commented 3 years ago

Applying the modifier is not an option if you need to keep the bones, let's say, for IK movement.

Can you post an image of the action editor?

fire commented 3 years ago

Ping!

The issue was lost. What is the current status of this?

JWBWork commented 2 years ago

@fire any chance you ever found a fix for this?

fire commented 2 years ago

I'm not able to spend more time on this but posted a relevant blender screenshot.

image

JWBWork commented 2 years ago

no luck preserving my shape keys, but thanks for replying 🙏🏻

lyuma commented 1 year ago

Blend shape animation tracks were redesigned in 4.0 and we believe the original issue is no longer reproducible. @JWBWork if you still have issues with blend shape animation import in 4.0rc3 or later please open a new issue with reproduction project.