-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename Position* Nodes to Marker* #5199
Comments
I would be happy with Marker instead of Position. But why not remove Markers in favor of having a toggle on |
I think this is a good idea. I thought about it before, since the name Position is indeed confusing, and the name that came to mind at the time was Gizmo2D and Gizmo3D. However, I like the name Marker a lot better. 👍
To be clear, the work-around is to just deal with the old name, or you can also do |
Edited the proposal accordingly. |
Nah, the base nodes should stay as pure and clean as possible IMO. Still, you could open a proposal if you care. |
I just want to point out, this is not a clearly defined purpose, and personally I would remove these as they are a waste of a class name. Every Node2D/Node3D already has an transform and therefore a position. As suggested if the debug/visual information is the only unique thing, and could be relevant for other classes to also posses, then it should just be added to Node2D/Node3D. It seems like these types of Nodes are relics of the past, and instead all proper Nodes should have Debug functionality implemented for them and exposed to the Editor for developers to use. |
The class could be firstly and foremost renamed, and then expanded upon with more features. |
If we wish to keep the Node, then I suggest what @aaronfranke mentioned above, with |
Describe the project you are working on
Typical 2D Godot game, taking a look at Godot 4.
Describe the problem or limitation you are having in your project
Godot 4 changes a lot of Node names to be more explicit and explanatory. Despite this, through the transition, one Node feels like has been left out...
The name of Position2D and Position3D is beyond unusual.
Firstly, It's vague! What is it? The Node that has a position? Don't all 2D/3D nodes have that?
Indeed, it shares its name with one of its properties. Thus, assuming its name is unchanged, when fetching the
position
(you're going to probably do that to make use of its specialty), it's totally possible to be in this situation:Needless to say, this is very confusing, especially for learning users that have yet to properly grasp the concept of Nodes.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
As brought up in godotengine/godot#54161 (comment).
Rename these nodes to Marker. Therefore:
This name is much simpler and suits their purpose to a tea. They're Nodes, used to mark noteworthy spots. The icon fits much better, too!
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
If this enhancement will not be used often, can it be worked around with a few lines of script?
It cannot. At least, not properly. One can just live with the current name, as is, and rename every Position node to to Marker on their own.
Is there a reason why this should be core and not an add-on in the asset library?
Position2D and Position3D are core classes.
The text was updated successfully, but these errors were encountered: