I can’t find a way to create a mesh before adding it to the scene. I found this issue 5 years ago that I have to remove it after creating; How to create a mesh without add it to the scene. · Issue #642 · BabylonJS/Babylon.js · GitHub
Is this still the case? It feels unintuitive to do it like this.
Could it not also cause side effects having meshes being part of the scene for a short time?
I don’t understand why I have to give the scene as a parameter in the first place, since leaving it out or setting it to null has the same effect as using “scene”.
Also with this approach my IDE complains that my variables (for example plate) are not used in the code.