I am quite new to using babylon and this is an amazing tool, I can’t thank you enough for that
I am trying to play with radio buttons letting me show or hide different meshes.
I had 3 meshes. A monkey exported from blender, the classic skull found on internet and a very simple torus from 3dsMax with no materials.
It worked great, i managed to do that successfully on these meshes and even change their colors etc.
I then tried to replace my torus by another mesh exported from 3dsMax but this one with textures (the IronMan).
But… IronMan never wants to disappear no matter what I do. I have tried a bunch of methods, .setEnabled(false); .dispose(); etc none of them having any effect on the IronMan, damn tony stark.
Here is my code (pretty simple), with the 3 babylon meshes that I use.
Do you guys have any idea?? This seems like a bug to me
PS: Also, if you have any advice to avoid using those global variables, I would gladly take that