summaryrefslogtreecommitdiff
path: root/scene/2d/navigation_link_2d.cpp
AgeCommit message (Collapse)Author
2023-02-14Add NavigationLink helper functions for global positionssmix8
Adds helper functions to set the links start and end position with global positions or get them as global positions. Adds global start and end position for the navigation link to the 'link_reached' signal of NavigationAgent. That signal gets emitted when a navigation link waypoint is reached. Requires that 'owner' meta data is enabled on the NavigationAgent.
2023-01-30Merge pull request #72115 from AThousandShips/clip_children_fixRémi Verschelde
Hide `clip_children` for some non-drawn CanvasItems
2023-01-30Hide clip_children for non-drawn CanvasItemsNinni Pipping
2023-01-26Rename Navigation uses of 'location' to 'position'smix8
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-10Enable assigning an owner to navigation regions and linksJosh Jones
This allows users of the server APIs to get back the nodes that created certain regions and links.
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-07handled edge case where navigation_link_2d is outside of the tree when ↵Trashtalk
calling _edit_get_rect()
2022-09-02Fix build after merge of #63479Rémi Verschelde
2022-08-26Added node for Navigation linksJosh Jones