Commit Graph

128 Commits

Author SHA1 Message Date
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
skyace65
f3364fb21e Replace set_velocity with velocity property 2024-02-04 15:44:56 -05:00
skyace65
9a8e29fc41 Add instruction to bake navigation BakePolygon 2024-02-02 20:34:48 -05:00
skyace65
2874b79807 Clarify what Navlink does and does not do 2024-01-28 18:41:36 -05:00
Hugo Locurcio
95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
Max Hilbrunner
e7058b5903 Merge pull request #8714 from smix8/navmesh_examples
Improve navigation mesh code examples
2024-01-08 07:52:55 +01:00
smix8
df8b911164 Improve navigation mesh code examples
Improves navigation mesh code examples.
2024-01-05 11:10:20 +01:00
smix8
99677ea448 Add script example for NavigationLink
Adds a script example how to create NavigationLinks with the NavigationServer.
2024-01-03 23:01:45 +01:00