NRA Posted June 4, 2018 Share Posted June 4, 2018 Hi, How can I change a submesh part of an .glb or .babylon file? And how to change the texture of an .glb or .babylon loaded file? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted June 5, 2018 Share Posted June 5, 2018 Hello! first you have to know that glb or babylon files can contain multiple meshes. So first you need to find the mesh that you want with scene.getMeshByName(name) for instance Then you can go with mesh.material to update the part of the material or mesh.subMeshes to get the submeshes Quote Link to comment Share on other sites More sharing options...
NRA Posted June 5, 2018 Author Share Posted June 5, 2018 Hello @Deltakosh ! Thanks the help I learned how to acess and change both ones! When I has nother questions I ask again. ? GameMonetize 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.