Creating instances of clones of a mesh

I tried creating instances of cloned meshes. The first clone, and its instances, disappear after a later clone is instanced.

https://playground.babylonjs.com/#QXZ4KH#2

Did more reading, found out I needed makeGeometryUnique on the cloned meshes.

https://playground.babylonjs.com/#QXZ4KH#3

Thanks guys!

3 Likes

Interesting! Thx for info. Did you happen to notice IF/NOT the call to makeGeometryUnique … made the clone become as-large-as its non-cloned ‘source’ mesh?

Did the clone get fat? :slight_smile: Just curious. Wondering if a fattened clone is worth the cloning at all.

No change was recognized, friend :V
I think, if you’re referring to the playground, the change in size is due to the camera position