You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A 3D card-based island-builder, with hex-grid tiles. I am using a self-rolled solution, but I would consider using GridMaps if they were more fully featured.
Describe the problem or limitation you are having in your project
The Inspector Panel for 'Grid Maps' is not intuitive. Unlike most other resources, the grid-map resource is completely blank:
One may initially think that it's impossible to actually do anything with this resource.
If you know what to look for however, there exists an editor inside of the 3D Viewport. After clicking 'add item', you actually do get data inside of the asset, and can use the Inspector to fill in the data:
Once created, these items don't appear to be real resources, however. The normal tools available to resources (make local to scene, save, etc) are not available. You also seemingly cannot delete them, once added.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
My suggestion is to move a subset of this functionality directly into the resource. The gold-standard for me would be something like this, which allows for: adding, deleting, and re-ordering:
I'm not suggesting that ALL functionality is moved over. I think the 'Import from Scene' stuff is already well-situated.
Additionally I feel that the child type here (MeshLibraryItem?) should be it's own resource type, if it's not already.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Mockup available above. I would be looking for a proper array editor, as shown in other places in Godot Engine.
If this enhancement will not be used often, can it be worked around with a few lines of script?
It's a UX flow issue. It can be worked around.
Is there a reason why this should be core and not an add-on in the asset library?
Once again, it's a UX flow. I don't think external assets have anything to do with it; really it's just about the expected way for a core asset to behave.
The text was updated successfully, but these errors were encountered:
Once created, these items don't appear to be real resources, however.
They aren't. Each MeshLibrary item shows a bunch of related Resources/data bundled by an integer index (cell ID). Some are proper Resources, like Mesh and Navigation Mesh, others are just information stored directly into the MeshLibrary.
You also seemingly cannot delete them, once added.
This was reported (again) recently: godotengine/godot#74388. Although it's reported for Godot 4, Godot 3 also has it. I imagine using this menu is uncommon - I myself only discovered it a few months ago.
MeshLibrary could be updated to use an Array of MeshLibraryItems yes, but then GridMap would also need to be reworked. Currently, GridMap associates the ID to painted cells. So if you reorder the MeshLibraryItems, the painted cells would also change.
To avoid problems, GridMap would need to work with something other than cell ID (#3523).
Thanks for the additional information @Hiiamwilliam ! Honestly the whole 'GridMap' implementation feels pretty weak. I would be happy to see it reworked completely, just as the 2D TileMaps were.
I'm not sure it's very high priority though. I also heard there was a suggestion to delete the whole thing from core, and move it into a supported plugin. That seems good to me as well.
Describe the project you are working on
A 3D card-based island-builder, with hex-grid tiles. I am using a self-rolled solution, but I would consider using GridMaps if they were more fully featured.
Describe the problem or limitation you are having in your project
The Inspector Panel for 'Grid Maps' is not intuitive. Unlike most other resources, the grid-map resource is completely blank:
One may initially think that it's impossible to actually do anything with this resource.
If you know what to look for however, there exists an editor inside of the 3D Viewport. After clicking 'add item', you actually do get data inside of the asset, and can use the Inspector to fill in the data:
Once created, these items don't appear to be real resources, however. The normal tools available to resources (make local to scene, save, etc) are not available. You also seemingly cannot delete them, once added.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
My suggestion is to move a subset of this functionality directly into the resource. The gold-standard for me would be something like this, which allows for: adding, deleting, and re-ordering:
I'm not suggesting that ALL functionality is moved over. I think the 'Import from Scene' stuff is already well-situated.
Additionally I feel that the child type here (MeshLibraryItem?) should be it's own resource type, if it's not already.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Mockup available above. I would be looking for a proper array editor, as shown in other places in Godot Engine.
If this enhancement will not be used often, can it be worked around with a few lines of script?
It's a UX flow issue. It can be worked around.
Is there a reason why this should be core and not an add-on in the asset library?
Once again, it's a UX flow. I don't think external assets have anything to do with it; really it's just about the expected way for a core asset to behave.
The text was updated successfully, but these errors were encountered: