-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
fix descriptions of map_to_world/world_to_map #60697
Conversation
Current descriptions are correct besides incorrectly referring to the argument with godot/modules/gridmap/doc_classes/GridMap.xml Lines 136 to 143 in 7819378
Also I think your new descriptions are vague as it's not clear what "world position" is. And "world" in these method names actually does refer to the local space of the given However, wording might indeed be improved. Probably it should be made analogous to the same method descriptions in the Lines 209 to 216 in 7819378
Lines 316 to 322 in 7819378
|
do you mean it's kind of like how would you call the local (integer) coordinates of cells? I would call it local meaning local to the grid map. so when the world position is also local (local space), it would be really confusing |
No, not really. Both
It's not local space (the one I've mentioned above), according to these method names ( In fact I never liked |
Closed as per the above discussion. Personally, I think we may indeed want to consider better names for these - discuss in godotengine/godot-proposals#4535 |
The description of map_to_world was explaining the method world_to_map and vice versa. Also I think these descriptions were pretty confusing.
I swapped the descriptions to match the actual methods and tried to make their functionality more clear.