+1 vote

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

Godot version 3.3.2
in Engine by (143 points)
edited by

1 Answer

0 votes

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.

by (57 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.