29784d5d5b
Ported from godot4: Enable assigning an owner to navigation regions and links
...
This allows users of the server APIs to get back the nodes that created certain regions and links.
- DarkKilauea
5769b0e8d8
2023-06-09 19:46:44 +02:00
160cb38a50
Ported from godot4: Add support for emitting a signal when entering a NavLink
...
- DarkKilauea
5d8ba2b2d1
2023-06-09 19:08:38 +02:00
e07fd6da59
Ported from godot4: Prevent unnecessary navigation map synchronizations
...
Prevents unnecessary navigation map synchronizations triggered by redundant calls to setters of e.g. region, link or map properties.
- smix8
7e1a261cc6
2023-06-09 16:43:14 +02:00
19fac49904
Turn PoolVectors in NavigationPathQueryResults into Vectors.
2023-06-09 16:27:24 +02:00
12b95cdc1f
Ported from godot4: Add navigation layer bitmask helper functions
...
Adds helper functions to work with the navigation layer bitmask.
- smix8
55923ade68
2023-06-09 15:44:12 +02:00
0bb4e0a9c2
Fix non tools build.
2023-06-09 11:39:52 +02:00
23daaf95a6
Ported from godot4: Fix 2D navigation debug visuals ignoring half the ProjectSettings
...
Fixes that NavigationRegion2D and TileMap debug visuals ignored more or less half the ProjectSetting. E.g. random color could not be disabled, edges did not display.
2b19c70664
2023-06-09 11:29:33 +02:00
c11500d480
Ported from godot4: Rename Navigation uses of 'location' to 'position'
...
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
- smix8
bf1571979c
2023-06-09 10:28:31 +02:00
b940854ca9
Ported from godot4: Add NavigationServer Performance Monitor
...
Adds Performance Monitor for NavigationServer3D.
- smix8
9802914f97
2023-06-09 10:17:43 +02:00
038329e7d0
Backported form godot4: Fix NavigationServer internals still using float instead of real_t
...
Fixes that some NavigationServer internals still used float instead of real_t in some parts.
- smix8
217a27014b
2023-06-09 08:53:00 +02:00
0438c3cc3f
Backported from godot4: Added node for Navigation links .
...
- DarkKilauea
3dd59013f4
2023-06-08 20:46:09 +02:00
f6e65112d7
Backported from godot4: Add NavigationPathQuery
...
Adds NavigationPathQueryParameters objects that can be used with NavigationServer.query_path() to query a customized navigation path.
- smix8
63dcb9aa80
2023-06-08 18:23:48 +02:00
b8d9ffec6d
Moved TileMap's Geometry Parser to TileMap's module.
2023-06-07 15:44:25 +02:00
c8d05fe667
Remove module dependency.
2023-06-07 15:44:00 +02:00
6f88656bc7
Removed the Clipper2 module, and also the remaining c++17 defines.
2023-06-07 15:33:59 +02:00
443482ee47
Make MeshInstance2DNavigationGeometryParser2D use the Geometry singleton instead of the clipper2 module.
2023-06-07 15:32:30 +02:00
2e1e153bc3
Make MultiMeshInstance2DNavigationGeometryParser2D use the Geometry singleton. And by proxy clipper 1.
2023-06-07 15:25:32 +02:00
d9a03e7eab
Remove temp code.
2023-06-07 09:21:42 +02:00
6eb37ff901
Ported clipper2 usage to clipper1 in PandemoniumNavigationMeshGenerator. Also moved them to the Geometry singleton.
2023-06-07 09:20:36 +02:00
91f365b183
Added CapsuleShape2D support for StaticBody2DNavigationGeometryParser2D.
2023-06-07 00:36:53 +02:00
683feba2e1
Fix RectangleShape2D size calculation in StaticBody2DNavigationGeometryParser2D.
2023-06-07 00:27:27 +02:00
99207066c5
Disable offsetting in PandemoniumNavigationMeshGenerator for 2d, as it seems to be bugged.
2023-06-07 00:24:59 +02:00
f8ae128f72
Fix UndoRedo handling in NavigationPolygonEditor.
2023-06-06 23:48:51 +02:00
9386fa1639
Fix typo.
2023-06-06 23:25:03 +02:00
919a1ddd14
Use the new temporary clipper2 module for the rest of the code that needs clipper2.
2023-06-06 22:59:09 +02:00
a5c03b77c1
Make the NavigationMesh generator and the TileMapNavigationGeometryParser use the new Clipper2 module. (Note that the clipper2 module is only temporary, it only exists to help with backporting the code.)
2023-06-06 19:02:33 +02:00
a65ad4d279
Added note.
2023-06-06 19:00:05 +02:00
13fa54d9cf
Also added Polypartition to the new clipper2 module from godot4. (Temporarily)
2023-06-06 18:07:49 +02:00
1d8be4224e
Added Clipper2 as a module from the navigation mesh generator rework pr.
2023-06-06 18:03:03 +02:00
7ce5f939a9
Ported the docs from the navigation mesh generator rework pr.
2023-06-06 16:52:04 +02:00
32e0e80ac8
Ported the tweaks for the TIleSetEditor.
2023-06-06 16:19:46 +02:00
2481e1ac65
Fix inconsistent override.
2023-06-06 15:58:40 +02:00
82316363eb
Removed the old navigation mesh generator and it's editor plugin.
2023-06-06 13:59:33 +02:00
f04fe96da7
Ported the geometry parser for GridMap from the navigation mesh generator pr.
2023-06-06 13:52:16 +02:00
890d6f1b28
Removed region_bake_navmesh from the NavigationServer.
2023-06-06 09:36:19 +02:00
f1f5849aff
Added missing includes for windows.
2023-06-06 09:35:20 +02:00
b96e013bed
Updated navigation geometry parsers, and added them to the build.
2023-06-06 07:55:19 +02:00
3612f2db50
Use GLOBAL_DEF instead of GLOBAL_GET in PandemoniumNavigationMeshGenerator.
2023-06-06 07:04:33 +02:00
62cecc5bb3
Fix int sign comparison warning.
2023-06-06 06:57:47 +02:00
bfcf461cb9
Fix unused variable warning.
2023-06-05 22:10:39 +02:00
03944c456c
Cleaned up and enabled the new navigation mesh generator editor plugins.
2023-06-05 21:58:00 +02:00
2296bf693a
Fix and finally enable PandemoniumNavigationMeshGenerator.
2023-06-05 20:42:35 +02:00
25078b1437
Ported from godot4: Remove / Replace old Navigation Debug Visualization
...
- removes / replaces leftovers from old navigation debug code
- cleanes SceneTree and ProjectSettings from old navigation debug
- smix8
d7f75fab60
2023-06-05 18:56:41 +02:00
654cfb81b7
Renamed NavigationRegion2D back to NavigationPolygonInstance, as I think it fits the engine better.
2023-06-05 18:09:53 +02:00
1994285031
Alos remove _execute method bind from the NavigationMeshGenerator jobs.
2023-06-05 14:50:39 +02:00
b7892d6baf
Backported from godot4: Implement NavigationMesh bake area.
...
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
- smix8
0c4d99f4fd
2023-06-05 14:24:42 +02:00
4873a3429d
Don't bind _execute() method in ThreadPoolJob derived classes, as it's not needed anymore.
2023-06-05 14:15:49 +02:00
6589d075bb
Ported the improvements to the NavigationPolygon from the aforementioned pull request.
2023-06-05 14:13:02 +02:00
b4cc1c3096
Added the GeometryParsers from the NavigationMeshGenerator pr to a new module.
2023-06-05 12:43:27 +02:00
645045f97c
Finished reworking PandemoniumNavigationMeshGenerator's api.
2023-06-05 08:58:48 +02:00