Commit Graph

2981 Commits

Author SHA1 Message Date
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
d344005b8d Don't unref() the NavigationMesh in NavigationPolygon. 2023-06-06 23:44:33 +02:00
9386fa1639 Fix typo. 2023-06-06 23:25:03 +02:00
5ace0cd58f Fix signal double connection. 2023-06-06 23:17:46 +02:00
1af5c4c412 Removed the old NavigationPolygonEditorPlugin. 2023-06-06 23:09:16 +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
316a53bfbf Fix non tools build. 2023-06-06 13:51:33 +02:00
27ee583bb8 Ported missing changes to NavigationPolygonInstance from the navigation mesh generator rework pr. 2023-06-06 13:17:59 +02:00
09118cb939 Port small tweaks fot NavigationMeshInstance. 2023-06-06 10:14:15 +02:00
b993bd4760 Only register NavigationMeshSourceGeometryData3D if 3d is enabled. 2023-06-06 10:04:14 +02:00
c898d9bc51 NAvigationMesh small tweaks. 2023-06-06 10:02:47 +02:00
63892627f7 Ported missing changes to NavigationPolygon from the navigation mesh generator rework pr. 2023-06-06 09:58:44 +02:00
890d6f1b28 Removed region_bake_navmesh from the NavigationServer. 2023-06-06 09:36:19 +02:00
a1b23406a1 Rework NavigationMeshInstance as per the navigation mesh generators pr. 2023-06-06 09:35:59 +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
de7d96cc6d Move server initialization afterMODULE_REGISTRATION_LEVEL_SERVER. 2023-06-06 07:47:05 +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
26ff340d47 Reorganized NavigationMesh. 2023-06-05 19:21:59 +02:00
a3aebe8bc5 Ported the improvements to the NavigationMesh from the NavigationMeshGenerator rework pr. 2023-06-05 19:20:28 +02:00
c72a079c49 Removed the Polygon struct from NavigationMesh. 2023-06-05 19:07:04 +02:00
3c9d9bdad4 Ported from godot4: Fix NavigationRegion3D gizmo's odd visual behavior .
- DarkKilauea
92c40bcf32
2023-06-05 19:02:24 +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
b6de23ac8a Fix non tools build. 2023-06-05 18:21:45 +02:00
654cfb81b7 Renamed NavigationRegion2D back to NavigationPolygonInstance, as I think it fits the engine better. 2023-06-05 18:09:53 +02:00
68b9f4c90e Ported from godot4: Add more detailed Navigation Debug Visualization
- Adds more customization options to ProjectSettings.
- Displays navregion edge connections and navigation polygon edges in editor and at runtime.
- Majority of debug code moved from SceneTree to NavigationServer.
- Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
- smix8
c394ea518e
2023-06-05 18:05:15 +02:00
510ecfa8e4 Fix clang format warning. 2023-06-05 14:57:25 +02:00
5578afc3d6 Fix scons warning. 2023-06-05 14:56:10 +02:00
1994285031 Alos remove _execute method bind from the NavigationMeshGenerator jobs. 2023-06-05 14:50:39 +02:00
cfa4384ad4 Backported from godot4: Fix NavigationMesh baking AABB Editor handling and visuals
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
- smix8
2023-06-05 14:33:55 +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
bb753653dd Don't print an error in ThreadPoolJob's _execute, as it's probably more intuitive this way. 2023-06-05 14:17:50 +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