hunts Posted May 1, 2017 Share Posted May 1, 2017 hy gangs, i used a random position for my array of trees then i merged it, but it returns just one tree\ http://www.babylonjs-playground.com/#BAP9YE Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 1, 2017 Share Posted May 1, 2017 Hello instances do not have geometry info. You should use clone instead of createInstance in this specific case Quote Link to comment Share on other sites More sharing options...
hunts Posted May 1, 2017 Author Share Posted May 1, 2017 it's still the same thing http://www.babylonjs-playground.com/#BAP9YE#1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 1, 2017 Share Posted May 1, 2017 Ok I dug into your code a bit more. the problem is that Tree object has no vertice. You have to merge not tree but trunks and leaves 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.