Open alfredbaudisch opened 1 year ago
Thanks for reporting this! We'll look into it.
Looked into this; it appears morph targets are not currently implemented.
@FredrikNoren Looks like we need your input on this one, too. Are morph targets planned?
@philpax Not in the immediate future. @alfredbaudisch (or anyone else interested in it) if you'd like to take a stab at implementing morph targets we would be happy to review a PR for it.
If a skinned mesh has a bone that drives a blend shape / morph target, either GLTF or FBX, the asset is not imported.
The bone is keyframed only on
Location
and drives a blend shape value from 0 to 1.https://user-images.githubusercontent.com/248383/236671476-e1d807ff-2da9-4f38-8ff4-bbc694d25d75.mp4
GLTF Error
FBX Error
Tried to load in the
skinmesh
sample:Example
.blend, fbx and gltf sample files: AnimationDriveBlendShapeBone.zip
This mesh contains a very simple armature with one animation "TurnOnMachine" that moves on the Y up and down, and drives the blend shape "TurnOn" of this cube (from the sample GIF above).
Validation
As a validation, here's the model in the Khrono's glTF Viewer:
https://user-images.githubusercontent.com/248383/236680315-634c3b99-21af-440d-afd7-33d2197bedcb.mp4