Hello,
I have an application that uses one mesh with submeshes. I then pick from this mesh and use the submesh id to do something. I noticed that when creating the submeshes, the first submesh id is 0 with some older version of babylon (7.x) while the first submesh id is 1 in babylonjs 8.x.
I prepared a playground to show this: Babylon.js Playground
You see two spheres. These are part of one mesh but configured as submeshes. In the console, you can already see the list of two submeshes. Investigating them shows the assigned ids for both submeshes. When clicking on either sphere, the submesh id is shown in the console.
When switching the playground between babylon 7.54 and latest, I see a different behavior:
- Ids of 0 and 1 one for 7.54
- Ids of 1 and 2 for 8 (latest).
Is this change known and intended?
Best regards,
Axel