-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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 Node3D's property translation to position #44198
Rename Node3D's property translation to position #44198
Conversation
29fd012
to
2e05bcf
Compare
2e05bcf
to
bcab4c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I support this change and the code looks good. Would also be nice to update the docs for Node2D.position to match though.
See my concerns in the proposal godotengine/godot-proposals#1557. |
bcab4c7
to
f18c4e3
Compare
Rebased following merge of #45879. |
f18c4e3
to
84cdac7
Compare
Updated documentation with |
We discussed this in a PR preview meeting today, and it had been discussed on and off in chat in previous months too. With the contributors present, we finally reached a consensus that this rename might indeed be a good idea to make things consistent.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to merge after a rebase.
84cdac7
to
a6e44bd
Compare
Thanks! |
@Calinou Surprisingly I don't actually think this is a problem. Exactly zero of the scenes in the demo projects have |
Indeed, I was mistaken as only |
Currently,
Node3D
has a helper property calledtranslation
, which would be better calledposition
as exists inNode2D
. This PR renamesNode3D
'stranslation
property,position
.Part of #16863.
Bugsquad edit: Fixes godotengine/godot-proposals#1557