ozRocker Posted January 17, 2018 Share Posted January 17, 2018 I can't get importmesh to acknowledge my morph targets. They turn out as NULL. But if I use BABYLON.SceneLoader.Load the morph target is there. Am I doing something wrong or is the morph target code missing from importmesh? Here is the playground I'm working on: https://playground.babylonjs.com/#BDG7ME#7 I should have a pouting morph target for the girl's face. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 17, 2018 Share Posted January 17, 2018 ImportMesh loads only one mesh, morph contains several meshs. I think that's why. Use Append that does like ImportMesh rather than Load that only loads a scene JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
ozRocker Posted January 17, 2018 Author Share Posted January 17, 2018 1 hour ago, Dad72 said: ImportMesh loads only one mesh, morph contains several meshs. I think that's why. Use Append that does like ImportMesh rather than Load that only loads a scene You're right!! Ok, I used Append and that fixed it. https://playground.babylonjs.com/#BDG7ME#8 (yep, there are still some other problems I'm fixing) Dad72 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.