syed samoon Posted January 23, 2018 Share Posted January 23, 2018 Hi Everyone, How to attach the two meshes using script. for example: Two meshes i) skateboard ii) player(animated with 3ds max) i will use this to attach sword.attachToBone(skeleton.bones[34], character); Note: i want to attach two meshes i) the skateboard don't move while playing the players animation Advance Thanks... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 23, 2018 Share Posted January 23, 2018 Hello, not sure if this is what you want but you can say: player.setParent(skateboard) NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted January 24, 2018 Share Posted January 24, 2018 how can we marge 2 mesh and have one mesh with multi material ? any tools we have for that? i can make new if we don't have Quote Link to comment Share on other sites More sharing options...
dbawel Posted January 25, 2018 Share Posted January 25, 2018 Won't BABYLON.Mesh.MergeMeshes(); do this? Here's a playground scene which demonstrates: http://www.babylonjs-playground.com/#KGUJW#1 DB NasimiAsl 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.