royibernthal Posted July 12, 2018 Share Posted July 12, 2018 @JCPalmer I'm trying to export a model that has 2 animated meshes. After export, the animation applies to only one of them. I recall you said that having multiple animated meshes will require extra work. How should I approach this? Quote Link to comment Share on other sites More sharing options...
babbleon Posted July 12, 2018 Share Posted July 12, 2018 Assuming your mesh object name is Object, then animation name should be Object-Action. See how you get on with that. Quote Link to comment Share on other sites More sharing options...
royibernthal Posted July 12, 2018 Author Share Posted July 12, 2018 Not sure what you meant. Anyway, all I needed to do was play all the loaded skeletons simultaneously. Quote Link to comment Share on other sites More sharing options...
hulahula Posted July 12, 2018 Share Posted July 12, 2018 Are you tried to call animation by name... like this ? BABYLON.SceneLoader.ImportMesh("", "./", "myAvatar.babylon", this.scene,function (newMeshes, particleSystems, skeletons) { var avatar = newMeshes[0]; avatar.skeleton.beginAnimation("Idle", true, 1); //avatar.skeleton.beginAnimation("Walk", true, 1); //avatar.skeleton.beginAnimation("Run", true, 1); }); Quote Link to comment Share on other sites More sharing options...
royibernthal Posted July 13, 2018 Author Share Posted July 13, 2018 That's not the issue, read above - solved. Thanks for trying to help though. 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.