summaryrefslogtreecommitdiffstats
path: root/servers/navigation_server_3d.h
Commit message (Collapse)AuthorAgeFilesLines
* Add navigation source geometry parser callbackssmix82024-04-191-0/+3
| | | | Adds navigation source geometry parser callbacks so that externals can hook their own geometry into the navigation mesh baking process.
* Move NavigationMeshSourceGeometryData(2D/3D) to the 2D/3D subfoldersAaron Franke2024-04-151-1/+3
|
* Add navigation path simplificationsmix82024-04-111-0/+2
| | | | Adds navigation path simplification for NavigationServer and NavigationAgent.
* Add function to get navigation map iteration id from NavigationServersmix82024-02-221-0/+1
| | | | Adds function to get navigation map iteration id from NavigationServer.
* Add means for fixing navmap synchronization errorsPawel Lampe2024-02-111-0/+3
|
* Expose `is_baking` method in navigation servers and region nodes.Pawel Lampe2024-02-051-0/+1
|
* Add getters to navigation serversNicholas Foo2023-12-191-0/+26
| | | | | | Add virtual functions and bind to navigation servers Implement getters Add documentation
* Add NavigationServer random point queriessmix82023-12-081-0/+4
| | | | Adds query functions to get random points on navigation mesh to the NavigationServer.
* Add 2D navigation mesh bakingsmix82023-09-251-0/+1
| | | | Adds 2D navigation mesh baking.
* Add multi-threaded NavMesh baking to NavigationServersmix82023-08-071-2/+3
| | | | Adds multi-threaded NavMesh baking to NavigationServer.
* Move navigation mesh baking to NavigationServersmix82023-08-031-1/+3
| | | | Moves navigation mesh baking to NavigationServer.
* Add NavigationServer API to enable regions and linkssmix82023-07-261-0/+6
| | | | Adds NavigationServer API to enable regions and links.
* Mark NavigationServer3D.region_bake_navigation_mesh() as deprecatedsmix82023-07-071-0/+2
| | | | Marks NavigationServer3D.region_bake_navigation_mesh() as deprecated.
* Add agent pause mode to NavigationServersmix82023-06-181-0/+7
| | | | Adds agent pause mode to NavigationServer.
* Fix various typos with codespellRémi Verschelde2023-06-161-1/+1
| | | | And ignore some false positives introduced by recent versions of codespell.
* Merge pull request #77412 from smix8/fix_threaded_navmesh_baking_4.xRémi Verschelde2023-06-151-0/+4
|\ | | | | | | Fix for threaded NavigationMesh baking under new thread guards
| * Fix for threaded NavigationMesh baking under new thread guardssmix82023-06-141-0/+4
| | | | | | | | Fixes threaded NavigationMesh baking under new SceneTree thread guards that blocked the process.
* | Fix `cell_height` for navigation meshessmix82023-06-131-0/+3
|/ | | | Fixes `cell_height` for navigation meshes.
* Update navigation obstacle APIsmix82023-06-121-0/+6
| | | | Updates navigation obstacle API.
* Make navigation mesh edge connections optionalsmix82023-05-111-0/+6
| | | | Makes navigation mesh edge connections optional.
* Rework Navigation Avoidancesmix82023-05-101-17/+103
| | | | Rework Navigation Avoidance.
* Fix NavigationServer internals still using float instead of real_tsmix82023-03-071-3/+3
| | | | Fixes that some NavigationServer internals still used float instead of real_t in some parts.
* Fix navigation debug not toggleable in scriptssmix82023-02-161-4/+5
| | | | Fixes that navigation debug was not toggleable in script while even the docs mentioned it.
* Allow compiling out the navigation moduleJosh Jones2023-02-091-2/+2
|
* Add NavigationAgent Path Debug Visualizationsmix82023-01-311-0/+23
| | | | Adds path debug visuals for NavigationAgent2D, NavigationAgent3D and NavigationServer.
* Use Callable for Navigation Agent callbacksJosh Jones2023-01-271-1/+1
|
* Rename Navigation uses of 'location' to 'position'smix82023-01-261-7/+7
| | | | Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
* Add NavigationServer Performance Monitorsmix82023-01-081-0/+16
| | | | Adds Performance Monitor for NavigationServer3D.
* Rework const on NavigationServer methodsJosh Jones2023-01-071-42/+39
| | | `const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Fix Navigation API abbreviations inconsistencysmix82022-12-171-2/+2
| | | | Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
* Merge pull request #69629 from smix8/agent_wild_callback_pointer_4.xRémi Verschelde2022-12-121-1/+1
|\ | | | | | | Fix Navigation agent callback wild pointer crash
| * Fix Navigation agent callback wild pointer crashsmix82022-12-121-1/+1
| | | | | | | | Fixes crash in sanitizer builds when callback agent or object are already freed.
* | Enable assigning an owner to navigation regions and linksJosh Jones2022-12-101-0/+8
|/ | | This allows users of the server APIs to get back the nodes that created certain regions and links.
* Add NavigationPathQuerysmix82022-09-201-0/+9
| | | | Adds NavigationPathQueryParameters objects that can be used with NavigationServer.query_path() to query a customized navigation path.
* Added node for Navigation linksJosh Jones2022-08-261-3/+64
|
* Merge pull request #64354 from Mickeon/rename-navigation-distanceRémi Verschelde2022-08-251-1/+1
|\
| * Rename Navigation's `neighbor_dist` to `neightbor_distance`Micky2022-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | NavigationAgent2D/3D.`neighbor_dist` -> `neighbor_distance` (also affects setters and getters) NavigationServer2D/3D.`agent_set_neighbor_dist()` -> `agent_set_neighbor_distance()` Also changes their parameters' names. Doesn't affect "Agent.neighborDist_" in Agent.h
* | Replace Array return types with TypedArray 2kobewi2022-08-231-3/+3
|/
* Fix Navigation Debug always enabledsmix82022-07-311-1/+1
| | | | Fixes that Navigation Debug is always enabled in debug builds even while "Visible Navigation" is turned off.
* Add more detailed Navigation Debug Visualizationsmix82022-07-291-0/+62
| | | | | | | - Adds more customization options to ProjectSettings. - Displays navregion edge connections and navigation polygon edges in editor and at runtime. - Majority of debug code moved from SceneTree to NavigationServer. - Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
* Merge pull request #62300 from smix8/navigation_map_force_update_4.xRémi Verschelde2022-06-241-0/+2
|\
| * Add NavigationServer map_force_update() functionsmix82022-06-231-0/+2
| | | | | | | | Adds map_force_update() function to NavigationServer. This function immediately flushes the Navigationserver command queue and recalculates all navigationmeshes and region connections for a specific map.
* | Add NavigationServer.region_owns_point() helper functionsmix82022-06-231-0/+2
| | | | | | | | Adds a helper function to check if a world space position is currently owned by a navigation region.
* | Add Navigation function to get all navigation mapssmix82022-06-221-0/+2
|/ | | | Added new function that returns all created navigation map RIDs from the NavigationServer. The function returns both 2D and 3D created navigation maps as technically there is no distinction between them.
* Streamline Navigation layer function names.smix82022-06-151-3/+3
| | | | Streamline Navigation layer function names.
* Add NavigationRegion costs for pathfindingsmix82022-06-061-0/+8
| | | | Add NavigationRegion costs for pathfinding.
* Add NavigationServer2D/3D API functions to find missing RID infosmix82022-05-121-0/+5
| | | | | | Utility functions for NavigationServer2D/3D to find missing RID information when working with Server API directly. e.g. from map to regions and agents, from agent or region to map, from region to map and agents and so on .... Requirement to work with NavigationServer API exklusive without SceneTree nodes and when juggling agents and regions between multiple navigation maps.
* Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde2022-01-121-7/+3
|\
| * Style: Remove inconsistently used `@author` docstringsRémi Verschelde2022-01-041-7/+3
| | | | | | | | | | | | | | | | | | | | Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information.