Commit Graph

113 Commits

Author SHA1 Message Date
Shawn Hardern
8523eca7b7 Add C# examples to Using NavigationMaps
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-10-04 03:43:26 +02:00
Shawn Hardern
74a2c38cc4 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-10-04 03:41:51 +02:00
Kongfa Waroros
050c9b94a9 Update certain example code snippets to use the new syntax 2024-10-04 03:41:25 +02: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
smix8
c8f7e92e34 Update navigation mesh baking doc
Updates navigation mesh baking doc.
2023-12-12 20:53:42 +01:00
Joel Kärn
d8aa528bbc Update navigation_using_navigationservers.rst
Fixed typo
2023-11-23 16:21:27 +01:00
Ryan Roden-Corrent
e9c76fe6fc Fix example script in Using NavigationPaths (#8358) 2023-11-06 19:18:32 +01:00
Haoyu Qiu
aa83e4b9e2 Improve the navigation documentation markup 2023-10-09 11:28:18 +08:00
Haoyu Qiu
313c3ed3db Don't use SceneTree when not referring to the class 2023-10-06 20:13:43 +08:00
Ershn
fa132e9f2d Improve the navigation documentation wording
Improve the navigation documentation wording and fix some typos.
2023-09-25 22:43:23 +09:00
smix8
c6bcf5389c Update Navigation Overview for new obstacles
Updates Navigation Overview for new obstacles.
2023-09-20 23:47:05 +02:00
Yuri Roubinski
8377137565 Simplify code for retrieving direction vectors 2023-09-12 11:04:55 +03:00
Scott Campbell
439de2ed2f PoolVector3Array now should be PackedVector3Array 2023-09-04 00:27:24 +10:00
Matthew
8027fdf2dd Merge pull request #7557 from smix8/diff_navagent_source_geometry_data_4.x
Update navigation different actor types for new SourceGeometryData
2023-07-04 11:44:43 -04:00
Matthew
d026082a8b Merge pull request #7511 from smix8/navagent_velocity_4.x
Update NavigationAgent velocity description
2023-07-04 11:41:05 -04:00
smix8
6d6067822f Update navigation different actor types for new SourceGeometryData
Updates navigation different actor types for new SourceGeometryData.
2023-06-25 19:31:54 +02:00
smix8
7e018df856 Update NavigationAgent velocity description
Update NavigationAgent velocity description.
2023-06-13 22:35:01 +02:00
smix8
cf2db6280e Update NavigationObstacle API doc
Updates NavigationObstacle API doc.
2023-06-10 16:44:01 +02:00
Max Hilbrunner
407bc0bd01 Merge pull request #7453 from smix8/update_navmesh_create_from_mesh_4.x 2023-06-01 12:49:51 +02:00