-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 "translation" to "position" in Spatial? #9128
Comments
Consider Position nodes like "empties" in 3d space. |
tested this before i opened this feature request and get_translation() on a Position3D node in a tree gives me its global translation and not the translation relative to parent. that's why I thought get_position() would be a nice thing to add to this specific node type (making its potential use cases a little clearer and to distinguish it a bit from a simple "Spatial" node). But sure, there's of course various ways to achieve the same thing without it. [edit] |
@novemberist on Godot 3, 2D nodes have the |
I think it's best to leave as |
I thought having "translation" for 3D nodes instead of "position" was weird in the first place. |
Godot 3.0 is out for some time and I don't think we will have such huge api breakage change only for cosmetic reasons at current moment. So I'm closing. |
Godot 3.0
As I understand it, the Position2D and Position3D node is supposed to be a simple helper node to exchange positional information (e.g. in a tree where no other node has a get_position() method). However, unfortunately this class has no get_position() method of its own. I would find it very usefull to add a get_position() and set_position() method to it, so it could e.g. be used as a node for a camera (which is child to Position node) that follows a player controller (with a Position node as a child) and other stuff.
The text was updated successfully, but these errors were encountered: