My project has N number of different convex polygons; they are large in number and can vary per frame.
To render them, I use the geometry batching technique. I created a custom mesh and loaded multiple polygon vertices into it. The geometry primitive are BABYLON.Material.TriangleFillMode
(triangle lists) and BABYLON.Material.TriangleStripDrawMode
(triangle strips with primitive index).
I have created an example here where I use Ray picking. My model has three triangles geometries in a single mesh object.
In the above example, only one triangle got selected it seems. Is there any technique where I can perform a selection on all three geometries within a single mesh object?