How to delete mesh in the scene?

Should I use Scene | Babylon.js Documentation ( dispose to delete the mesh in the scene?

Did you check this post: How do you properly remove an object from the scene?

1 Like

Hey @pigga, has the issue be solved yet?

If not, mesh.dispose() (where mesh is the mesh you created) will delete a mesh and scene.dispose(), which deletes the entire scene. There are a few other methods you can use but shouldn’t because there isn’t a reason to (at least in my opinion).


1 Like