Raghavender Mylagary Posted December 14, 2016 Share Posted December 14, 2016 Hi, I want to know if its possible to create a mesh using Blender and then to define its properties in the BabylonJS code. For example i want to create a wall using the cube in the blender and name it as WALL1. Then after loading the .babylon file generated the blender i want to define the color, texture and materials of the wall using the name of the wall WALL1. Thanks, Raghavender Mylagary Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted December 14, 2016 Share Posted December 14, 2016 var wall1 = scene.getMeshByName("WALL1"); wall1.material = …; Any property. Raghavender Mylagary 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.