-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Describe the project you are working on
Just learning/experimenting with the engine for now.
Describe the problem or limitation you are having in your project
This is not a hard limitation, but rather a small quality-of-life feature for visual organization.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
I would like the ability to rearrange the order of Groups, either in the Node dock or in Project Settings > Globals > Groups for global groups.
Especially in the earliest stages of development, it's hard to know what types of groups you'd need and how many. Sometimes you may want to create multiple groups that serve an overall similar purpose (like surface footstep sound groups), or want to arrange groups by importance (Player > Enemy > Collectible); sometimes you may have both of these examples. However, when you decide to add a new group, you're unable to categorize it manually, so you may end up with a group list that can be unorganized and confusing.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
In the Node dock, a group can be clicked and dragged up or down to reorder it. Similar behavior could be applied in the Project Settings window for global groups, which will synchronize with the dock.
If this enhancement will not be used often, can it be worked around with a few lines of script?
As far as I can see, the order of Groups is irrelevant in code. Methods that return Groups do so in a random order, and there are no methods that explicitly modify the order of Groups. This is more for visual organization/convenience within the editor rather than a programmatic necessity.
Is there a reason why this should be core and not an add-on in the asset library?
This may likely be a very tiny and niche feature that may even go unnoticed for some users, but it also wouldn't be worth making an entire plugin package for since it's a feature that I imagine can easily fit natively in the engine.