4cbc387c53
Moved the navigation relatred resources into subfolders.
2023-12-10 14:23:24 +01:00
43c11fcdf5
Backported from godot4: Fix typo and ensure backwards compatibility for changed property names
...
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
- DarkKilauea, akien-mga
0572346985
2023-09-05 09:13:54 +02:00
8485b37515
Ported from godot4: Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
ee8716a7e6
Added a VSeparator to the NavigationPolygonEditor and the NavigationMeshEditor.
2023-09-03 12:44:55 +02:00
2b0a9700b8
Remove the text from the bakle and clear buttons in the editor for the NavigationMeshEditorPlugin and the NavigationPolygonEditorPlugin.
2023-09-03 12:04:53 +02:00
915014b6df
Bake the NavigationMesh on the main thread in the editor.
2023-09-03 10:59:33 +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
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
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
7ce5f939a9
Ported the docs from the navigation mesh generator rework pr.
2023-06-06 16:52:04 +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
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
645045f97c
Finished reworking PandemoniumNavigationMeshGenerator's api.
2023-06-05 08:58:48 +02:00
d35db3a25a
More cleanups.
2023-06-05 00:20:48 +02:00
57153f4a33
Make overrides consistent again.
2023-06-04 13:11:04 +02:00
45c0147f66
Notes and small cleanups.
2023-06-04 13:02:02 +02:00
3ba762a9a4
PandemoniumNavigationMeshGenerator rework pt1.
2023-06-04 10:14:20 +02:00
e55c561075
Also added the navigation mesh generator module. It's disabled for now, as it needs some reworks.
2023-06-03 21:18:18 +02:00