It seems PlayCanvas Editor can not parse morph animation in FBX?

Here is a FBX file, it is a cube with morph anmation.
https://www.dropbox.com/scl/fi/tyqjdhsg1zj3m751wafa9/cube_morph_ani.fbx.zip?rlkey=f4opp1iko1uh9pmdijoxeyusx&st=edpyrg7w&dl=0

This glb file is converted by FBX2glTF, its morph animation is correct.
https://www.dropbox.com/scl/fi/nntbe4r71pl3ntu3emyil/cube_morph_ani.glb.zip?rlkey=mr4fu0x84r0m8i8pkb0iwbmao&st=81p0syc3&dl=0


But in PlayCanvas Editor, it does not have animation.

Any helps?
Thanks.

1 Like

I created an issue, not sure what it could be, we’ve had some fbx with morph animations imported correctly in the past: Morph target import issue from fbx · Issue #1279 · playcanvas/editor · GitHub

as a workaround, you could import them as GLB files, that should work. Unless you’re saying even this does not work, I’m not clear on this.

2 Likes

With animations we’re using .GLB since they seem to work a bit better than .FBX. Otherwise for non-animations, we do prefer .FBX, since those models seem to better match how they look in Blender. For simple animations, just making a script with the help of ChatGPT may be easier.

Do you have any public FBX model with morph animation ? I want to know why my morph animation can not parse by PlayCanvas Editor. Thanks.

MorphTwist.zip (116.4 KB)

This one should work, even though I have not tested it for a while.

1 Like

I’ve checked the zip file.

The glb file does not contain animation data. It only contains morph targets:

The FBX file can be converted by PlayCanvas Editor, it will output two glb files:
image

The Take 001.glb contains animation data:
image

But the animation is wrong…

1 Like