Hide part of glb 3d model

HI) Can I programmatically hide part of the model case? For example, remove her legs?) Mesh visability does not work properly.

You can use
scene.getMaterialByID("Material_Name").alpha = 0;

Small example here https://www.babylonjs-playground.com/#U5SSCN#32

1 Like

Thanks) I tried differently, dispose, isVisible, visabality, removeMesh. It turned out that there was an error in the console)) I did not know that you can set the alpha parameter of the material, the documentation says: “Gets the alpha value of the material”