summaryrefslogtreecommitdiffstats
path: root/modules/navigation/godot_navigation_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move 3D-only navigation code to its own subfolderAaron Franke2024-02-261-1423/+0
|
* [Navigation] Add some missing compile checksA Thousand Ships2024-02-221-0/+4
|
* Add function to get navigation map iteration id from NavigationServersmix82024-02-221-6/+13
| | | | Adds function to get navigation map iteration id from NavigationServer.
* Add means for fixing navmap synchronization errorsPawel Lampe2024-02-111-0/+14
|
* Expose `is_baking` method in navigation servers and region nodes.Pawel Lampe2024-02-051-0/+4
|
* Add getters to navigation serversNicholas Foo2023-12-191-2/+142
| | | | | | Add virtual functions and bind to navigation servers Implement getters Add documentation
* Add NavigationServer random point queriessmix82023-12-081-0/+14
| | | | Adds query functions to get random points on navigation mesh to the NavigationServer.
* [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-261-102/+102
|
* Add 2D navigation mesh bakingsmix82023-09-251-10/+8
| | | | Adds 2D navigation mesh baking.
* Add multi-threaded NavMesh baking to NavigationServersmix82023-08-071-12/+22
| | | | Adds multi-threaded NavMesh baking to NavigationServer.
* Move navigation mesh baking to NavigationServersmix82023-08-031-9/+46
| | | | Moves navigation mesh baking to NavigationServer.
* Merge pull request #79916 from smix8/navobstacle_mutex_4.xYuri Sizov2023-07-261-2/+2
|\ | | | | | | Update NavObstacle creation to new Mutex style
| * Update NavObstacle creation to new Mutex stylesmix82023-07-261-2/+2
| | | | | | | | Updates NavObstacle creation to new Mutex style.
* | Add NavigationServer API to enable regions and linkssmix82023-07-261-0/+28
|/ | | | Adds NavigationServer API to enable regions and links.
* Mark NavigationServer3D.region_bake_navigation_mesh() as deprecatedsmix82023-07-071-0/+4
| | | | Marks NavigationServer3D.region_bake_navigation_mesh() as deprecated.
* Fix NavObjects map assignmentssmix82023-06-251-73/+14
| | | | Fixes NavObject map assignments.
* Merge pull request #78449 from Scony/add-agent-n-map-navserver-testsRémi Verschelde2023-06-211-2/+4
|\ | | | | | | Add `agent` and `map` tests for 'NavigationServer3D'
| * Add `agent` and `map` tests for 'NavigationServer3D'Pawel Lampe2023-06-201-2/+4
| | | | | | | | This commits fixes a bug in `free()` function as well.
* | Merge pull request #76787 from RedworkDE/avoid-localvector-copyRémi Verschelde2023-06-201-3/+3
|\ \ | |/ |/| | | Avoid making unnecessary copies of `LocalVector`
| * Avoid making unnecessary copies of `LocalVector`RedworkDE2023-05-061-3/+3
| |
* | Add agent pause mode to NavigationServersmix82023-06-181-0/+28
| | | | | | | | Adds agent pause mode to NavigationServer.
* | Style: Harmonize header includes in modulesRémi Verschelde2023-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes
* | Merge pull request #77412 from smix8/fix_threaded_navmesh_baking_4.xRémi Verschelde2023-06-151-1/+16
|\ \ | | | | | | | | | Fix for threaded NavigationMesh baking under new thread guards
| * | Fix for threaded NavigationMesh baking under new thread guardssmix82023-06-141-1/+16
| | | | | | | | | | | | Fixes threaded NavigationMesh baking under new SceneTree thread guards that blocked the process.
* | | Fix `cell_height` for navigation meshessmix82023-06-131-0/+14
|/ / | | | | | | Fixes `cell_height` for navigation meshes.
* | Update navigation obstacle APIsmix82023-06-121-11/+74
| | | | | | | | Updates navigation obstacle API.
* | Make navigation mesh edge connections optionalsmix82023-05-111-0/+28
| | | | | | | | Makes navigation mesh edge connections optional.
* | Rework Navigation Avoidancesmix82023-05-101-18/+172
|/ | | | Rework Navigation Avoidance.
* Fix NavigationServer free error printsmix82023-03-051-1/+1
| | | | Fixes error print for NavigationServer free when a RID can not be found.
* Improve NavigationServer.free() error msg when RID not foundsmix82023-02-131-1/+1
| | | | Improves the error msg when NavigationServer.free() does not find the RID e.g. because it was already deleted or did never exist in the first place.
* Rename NavigationServer internal RvoAgent to NavAgentsmix82023-02-011-17/+17
| | | | Renames the NavigationServer internal RvoAgent to NavAgent.
* Use Callable for Navigation Agent callbacksJosh Jones2023-01-271-36/+5
|
* Rename Navigation uses of 'location' to 'position'smix82023-01-261-8/+8
| | | | Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
* Use range iterators in LocalVector loopskobewi2023-01-211-15/+12
|
* Add NavigationServer Performance Monitorsmix82023-01-081-0/+61
| | | | Adds Performance Monitor for NavigationServer3D.
* Rework const on NavigationServer methodsJosh Jones2023-01-071-55/+61
| | | `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".
* Add support for emitting a signal when entering a NavLinkJosh Jones2022-12-171-8/+24
|
* Fix Navigation API abbreviations inconsistencysmix82022-12-171-7/+7
| | | | 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-3/+3
|\ | | | | | | Fix Navigation agent callback wild pointer crash
| * Fix Navigation agent callback wild pointer crashsmix82022-12-121-3/+3
| | | | | | | | 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/+28
|/ | | This allows users of the server APIs to get back the nodes that created certain regions and links.
* Add NavigationPathQuerysmix82022-09-201-0/+26
| | | | 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-0/+171
|
* Merge pull request #64354 from Mickeon/rename-navigation-distanceRémi Verschelde2022-08-251-2/+2
|\
| * Rename Navigation's `neighbor_dist` to `neightbor_distance`Micky2022-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | 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-6/+6
|/
* Replace Navigation std::vector use with LocalVectorsmix82022-07-281-8/+12
| | | | Replace Navigation std::vector use with LocalVector.
* Merge pull request #62300 from smix8/navigation_map_force_update_4.xRémi Verschelde2022-06-241-0/+9
|\
| * Add NavigationServer map_force_update() functionsmix82022-06-231-0/+9
| | | | | | | | 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.