How to delete a mesh from my Gridmap?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Wurzelpilz

There is a mesh I need to replace and I have to delete the array from my gridmap. How do I do this? And how do I change the texture of it afterwards or the colliders

:bust_in_silhouette: Reply From: CodedOre

If you want to update the available pieces in your GridMap, you can do this by updating the MeshLibrary. If you still have the scene with which you created the MeshLibrary, that is easy.

Updating and adding new meshes is quite easy. However, when you delete an item, you need to recreate the MeshLibrary (as far as my experience goes).
You could do this by unchecking “Merge with existing” when saving the MeshLibrary. But be beware that this will cause problems in your GridMap, as the indexes in the MeshLibrary are changed, but not in the GridMap.