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
6589d075bb
Ported the improvements to the NavigationPolygon from the aforementioned pull request.
2023-06-05 14:13:02 +02:00
712eb8eb8a
Removed the Polygon struct from NavigationPolygon.
2023-06-05 12:48:57 +02:00
0bfa40bb09
Reorganize NavigationPolygon.
2023-06-05 12:44:49 +02:00
b4cc1c3096
Added the GeometryParsers from the NavigationMeshGenerator pr to a new module.
2023-06-05 12:43:27 +02:00
642b5b7159
Use call_deferred when emitting the completed signal, so the handlers run on the main thread.
2023-06-05 09:11:39 +02:00
6dc774cf5c
Emit the completed signal automatically in ThreadPoolJob.
2023-06-05 09:08:22 +02:00
9a2a39923a
Added virtual _execute to threadPoolJob.
2023-06-05 09:05:16 +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
6136f0b802
Fix the type of the CreateNavigationMeshGeneratorCallback.
2023-06-04 09:41:39 +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
54ae614941
Make sure that the new classes are registered to the ClassDB. Also added in the docs for them.
2023-06-03 20:39:56 +02:00
0a3d1d6cf5
Added in NavigationMeshGeneratorDummy and set up initialization.
2023-06-03 20:00:42 +02:00
9a35d6c7d3
Cleaned up NavigationMeshGenerator and added it to the build.
2023-06-03 18:45:20 +02:00
8cbb1bb879
Started porting pull request from godot 4: Rework NavigationMeshGenerator
...
Reworks NavigationMeshGenerator and navigation mesh parse and bake process. Adds navigation mesh baking for 2D.
- smix8
https://github.com/godotengine/godot/pull/70724
38699a8259
2023-06-03 18:22:12 +02:00
2114b2239b
Split NavigationPolygon and NavigationPolygonInstance into 2 files. Also renamedNavigationPolygonInstance to NavigationRegion2D.
2023-06-03 16:54:48 +02:00
79538b4392
Fix more binding inconsistencies.
2023-06-02 12:21:16 +02:00
6b15eb053c
Fix property bind inconsistency.
2023-06-02 12:17:16 +02:00
e3e9450882
Fix property binding hints.
2023-06-02 12:12:04 +02:00
de9da3151f
Fix property types. Auras have been merged into Spells a while ago.
2023-06-02 12:10:20 +02:00
d8bd83dbd5
Fix the type of FastnoiseNoiseParams::get_fractal_octaves().
2023-06-01 17:15:27 +02:00
e8bb085466
Renamed the Math singleton to PMath, as it causes too many issues when dealing with gdnatove / mono. It will also be eventually moved to a module, as it's only useful in some situations.
2023-06-01 17:02:16 +02:00
97f5037c8b
Renamed the object() method in HTMLBuilder as it can cause issues with bind generators.
2023-06-01 16:51:08 +02:00
d093365b00
Fix some property names being the same as getters / setters.
2023-06-01 15:42:32 +02:00
50fa3addad
Fix handling dots in String::is_numeric().
2023-06-01 15:41:43 +02:00
dbc5b1df35
Fixed disrepancies between a few getter and setters.
2023-06-01 13:06:24 +02:00
61ccfb443f
Bind missing enum values in Terrain2DJob.
2023-05-31 22:52:52 +02:00
868230fe57
Bind enum values.
2023-05-31 22:51:03 +02:00
44070461e7
Move the enums from the top of spell.h into the Spell class.
2023-05-31 22:49:36 +02:00
9c28249819
Bind enum constants.
2023-05-31 22:43:57 +02:00
a1402fd46a
Bind enum constants.
2023-05-31 22:42:59 +02:00
69182c8089
Fix duplicate parameter name in binding.
2023-05-31 22:36:02 +02:00