Mekaboo
September 24, 2021, 3:58am
1
I would like to clone this so I would have 6 instead of 1:
https://playground.babylonjs.com/#KBS9I5#76
Didn’t know where to place the “clone” (clonedHouse = house.clone(“clonedHouse”)) because I would like to change the texture and read using instance that’s not possible.
Appreciate the help folks
sebavan
September 24, 2021, 2:12pm
2
You would need to clone both the box and the roof, so then you can also clone the material and change the texture of each clone.
If you instead create instances, the same material would apply to all of them.
1 Like
Mekaboo
September 24, 2021, 2:24pm
3
Thank ya @sebavan
I was confused on what separated the 2.
So clone this PG:
https://playground.babylonjs.com/#KBS9I5#70
Then add the materials and textures