Instance of custom mesh, no geometry

I was reading this page: custom mesh creation

My issue is instancing a custom mesh with a custom matrix for each element.

In this playground, when replacing new BABYLON.MeshBuilder.CreatePolyhedron(…) with new BABYLON.Mesh(‘p’, scene) I cannot instantiate it.
The worldMatrixInstancedBuffer buffer is undefined.

So what is the babylon way to do it? Thanks

Wrong tool for the job: thin instances are what I need.

Thanks guys

1 Like