I understand that blend shapes / morph targets are now supported in PlayCanvas. However, my team is struggling on understanding how to get this right. We suspect that the problem could be the exporting from Blender. Do anyone here have any knowledge of this?
We are getting the animation clips exported into PlayCanvas, however the shape keys / morph targets are not working when we try to play them either with the Animation (Legacy) or Anim components. We can’t seem to get the shape keys applied to the mesh. Animations that do not use the shape keys play correctly, however. When we use the internal GLB viewer on the model, we do see that we can manipulate the shape keys in viewer.
So we are wondering:
Do anyone have a good guide on exporting animations with shape keys from Blender over to PlayCanvas?
Is there a special trick to play animations with shape keys in PlayCanvas?
Sorry to bother you, but have you had the chance to look at this, @slimbuck?
We have tried just about everything at this point, and it would be great to find out if it’s something we are doing wrong, or if it is in fact a bug in PlayCanvas.
Sorry for not getting back to you earlier. I haven’t had a chance to look into this further, but may get a chance today. I did test a number of different FBX models and some work, others not. At this point I feel confident that the issue lies with us, but hopefully I can either get a fix or a workaround to you soonish.
Quick update here. It turns out our FBX converter never converted the morph target animations! I’ve now implemented that, but needs review, testing etc.