Commit Graph

135 Commits

Author SHA1 Message Date
Rageking8
4404daf6f3 Fix mismatched backticks in "2D navigation overview" (#11254)
* Fix mismatched backticks in "2D navigation overview"

* Add `button` role for "Bake NavigationPolygon" in "2D navigation overview"

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-09-04 18:58:16 +02:00
渔民小镇
3dad3fba84 Update navigation_optimizing_performance.rst
Maybe it's a spelling error.

runs out off -> runs out of
2025-08-13 22:40:34 +08:00
Matthew
860ab641e9 Merge pull request #11044 from smix8/path_queries
Update `NavigationPathQueryObjects` to explain all (new) options
2025-07-17 20:25:07 -04:00
smix8
8e81cb34d4 Update NavigationPathQueryObjects to explain all (new) options
Updates NavigationPathQueryObjects to explain all (new) options.
2025-07-17 20:21:52 -04:00
David M. Lary
069d3f17dc fix NavigationAgent3D template for Node3D
fixes #11088
2025-07-08 16:53:28 -05:00
John
19735c9129 Correct NavigationAgent property name 2025-06-21 10:25:24 +01:00
A Thousand Ships
f81114b5e2 [Navigation] Update documentation after nav split 2025-06-18 15:47:04 +02:00
Overkane
376d525e0c Update navigation_using_navigationagents.rst
Added comma for better readability
2025-04-07 11:45:39 +05:00
skyace65
9593ece453 Update navigation link page for new debug arrows 2025-01-20 21:21:28 -05:00
Raul Santos
cea78730d0 [.NET] Use collection expressions
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 03:38:42 +01:00
tholan2
de9b5a92ce Add AstarGrid2D headline to 2D Navigation Overview (#10135)
* Add AstarGrid2D headline to 2D Navigation Overview

Resolves #9668 by adding in the request description.

This PR adds a short description for AStarGrid2D of its function and use case that was previously missing in the 2D navigation overview page.
2024-12-05 12:46:16 +01:00
Sai Nane
3f206fd8e6 Remove references to PoolVector
PoolVector has not existed since 2020.

It was removed in 3205a92a:
https://github.com/godotengine/godot/commit/3205a92a
2024-11-28 14:17:38 +00:00
Max Hilbrunner
acbf957e13 Merge pull request #10108 from austin226/patch-2
Rephrase tutorial items for targeting with a Navigation Agent
2024-11-17 12:52:38 +01:00
Thaddeus Crews
f70686cdbe CI: Integrate pre-commit for style checks 2024-11-14 14:08:49 -06:00
Austin Almond
87659396b5 Rephrase tutorial items for targeting with a Navigation Agent
The `path_desired_distance`, `target_desired_distance`, and `path_max_distance` documentation was a bit ambiguous. I tried to make it a little more clear without making it too long, since the properties are also documented at the [NavigationAgent3D](https://docs.godotengine.org/en/stable/classes/class_navigationagent3d.html) page.
2024-10-18 13:45:24 -04:00
smix8
f28b7eca81 Add hint that navmesh geometry nodes can be parsed by groupname
Adds hint that navmesh geometry nodes can be parsed by groupname.
2024-09-19 19:21:57 +02:00
bobby-the-epic
9c3fcbed55 Add missing comma
Added a comma to clarify the subject of the sentence.
2024-08-31 16:57:40 -05:00
Shawn Hardern
e09439a4e0 Add missing C# code examples to documentation
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-08-27 11:14:49 +01:00
A Thousand Ships
69fe8f0df5 Merge pull request #9813 from ShawnHardern/update-using-navigation-regions-csharp
Add C# examples to Using NavigationRegions
2024-08-23 18:53:24 +02:00
A Thousand Ships
edb2b85a98 Merge pull request #9812 from ShawnHardern/update-using-navigationmaps-csharp
Add C# examples to Using NavigationMaps
2024-08-23 18:48:39 +02:00
Shawn Hardern
0c5d6868a1 Add C# examples to Using NavigationMaps
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-08-23 17:42:46 +01:00
Shawn Hardern
6a68d3e5c0 Add C# examples to Using NavigationRegions
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-08-23 17:30:30 +01:00
Kongfa Waroros
f27d12979d Update certain example code snippets to use the new syntax 2024-08-23 14:16:54 +07:00
Cordell
861eb13458 Update tutorials/navigation/navigation_using_navigationagents.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-17 16:01:10 -07:00
Cordell
0f8477ae19 Update navigation_using_navigationagents.rst
In "avoidance_priority" property description, changed "important npcs characters" to "important non playable characters". The term "npc", means "non playable character", so to say "non playable characters characters" seems like an error.
2024-08-16 20:05:45 -07:00
smix8
01103403c3 Add 2D versions of NavigationAgent script templates
Adds 2D versions of the NavigationAgent script templates and condenses all the templates in a tab menu.
2024-08-10 18:23:03 +02:00
smix8
ea26ff9269 Update NavigationAgent doc with new simplify_path property
Mentions the new simplify_path  properties on the NavigationAgents.
2024-08-10 14:03:02 +02:00
smix8
9017929096 Add links to navigation mesh chunks demos
Adds links to navigation mesh chunks demos.
2024-08-08 20:10:51 +02:00
smix8
04f9e34d04 Mention that the NavigationMesh border_size only works along xz-axis
Adds a warning that the NavigationMesh border_size property only works along xz-axis as a limitation of the Recast third-party baking library.
2024-08-04 21:33:14 +02:00
Matthew
f2354acf64 Merge pull request #9613 from smix8/navmesh_obstacle
Mention that unwanted navmesh can be discarded with a NavigationObstacle3D
2024-07-17 19:04:34 -04:00
smix8
3ba1dd072c Fix wrong information on NavigationLayers page
Removes the parts that state that the navigation layers have anything to do with how a navigation map merges the navigation regions or navigation mesh polygons. Also corrects wrong statement about changing the navigation layers of a region as that change requires a server sync.
2024-07-17 01:05:12 +02:00
smix8
dd1ff5a7c2 Mention that unwanted navmesh can be discarded with a NavigationObstacle3D
Adds info that in Godot 4.3 a NavigationObstacle3D can be baked to navmesh and used to discard unwanted navmesh inside its shape, e.g. navmesh that appears inside walls.
2024-07-16 20:54:53 +02:00
Emmanouil Papadeas
fa9cba4d8d Fix wrong lines of code in the "Using NavigationMaps" page
NavigationServer2D and 3D's `map_set_active()` method takes two arguments, the map RID and the boolean. The docs only contained the boolean, resulting in wrong code.
2024-06-19 17:09:35 +03:00
A Thousand Ships
36e2351df2 Fix invalid indentation in various files 2024-06-06 16:16:45 +02:00
Matthew
e92616b7af Merge pull request #9336 from smix8/nav_obstacles
Update NavigationObstacles for Godot 4.3 changes
2024-06-03 18:20:53 -04:00
Raul Santos
3a23253734 Add C# code to "Using NavigationServer" 2024-05-21 05:10:29 +02:00
Alexey Puchkov
8a9780670b Fix typo in Using NavigationServer tutorial page 2024-05-17 08:27:34 +03:00
smix8
8e0e12367f Update NavigationObstacles for Godot 4.3 changes
Updates NavigationObstacles documentation as they can not affect the navigation mesh baking.
2024-05-16 01:52:25 +02:00
smix8
02cf059c17 Add documentation for navigation mesh chunk baking
Adds documentation for navigation mesh chunk baking by using baking bound and border size properties.
2024-05-04 18:25:06 +02:00
melquiadess
dbe3a88377 Fix various minor typos 2024-04-20 16:41:23 +01:00
A Thousand Ships
bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
Max Hilbrunner
8db4fdd88d Merge pull request #8976 from smix8/nav_examples01
Update some navigation code examples
2024-02-19 12:20:03 +01:00
smix8
cac53e5d15 Update some navigation code examples
Updates some navigation code examples.
2024-02-15 21:49:42 +01:00
smix8
bb3d8dc185 Mention passing side assumption of RVO avoidance
Mentions passing side assumption of RVO avoidance.
2024-02-15 07:09:01 +01:00
Morgan Wesemann
5d5e44e895 Simplify based on clarifications 2024-02-07 22:44:46 -05:00
Morgan Wesemann
1781f7bda0 Update tutorials/navigation/navigation_debug_tools.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-02-07 10:20:24 -05:00
Morgan Wesemann
495718f553 Add documentation for when navigation debug mesh will show 2024-02-06 22:52:52 -05:00
smix8
4fd70a00a8 Fix script error in NavigationMesh example
Fixes script error in NavigationMesh example.
2024-02-05 00:08:29 +01:00
Max Hilbrunner
47ee23344e Merge pull request #8886 from skyace65/VelocityChange
Replace set_velocity with velocity property
2024-02-04 22:26:23 +01:00
Max Hilbrunner
c309afb14d Merge pull request #8856 from skyace65/NavLinkClarity
Clarify what Navlink does and does not do
2024-02-04 22:26:03 +01:00