summaryrefslogtreecommitdiffstats
path: root/modules/navigation/navigation_mesh_generator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #62293 from smix8/navigation_disable_editorprogress_bake_4.xRémi Verschelde2022-06-231-0/+7
|\
| * Disable thread-unsafe EditorProgress for navmesh bakingsmix82022-06-221-0/+7
| | | | | | | | Disables navmesh baking EditorProgress for now until fixed as EditorProgress is not thread-safe and uses hacks and Main::iteration() for steps which can result in random crashes when baking navmesh.
* | Implement NavigationMesh bake areasmix82022-06-231-0/+15
|/ | | | Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
* Add warnings when NavigationMesh bake settings result in precision losssmix82022-06-041-0/+25
| | | | Add warnings when NavigationMesh bake settings result in precision loss.
* Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is emptysmix82022-05-271-8/+10
| | | | Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
* Clamp NavigationMesh sample_distance above zerosmix82022-05-161-1/+1
| | | | | | | While default ReCast library has support for 0.0 'sample_distance' the Godot implementation does not an crashes. Previously Godot would set all sample_distance values below 0.9 to 0 which causes the crashes. This limits the sample_distance range selection to 0.1 - 16.0 and also clamps sample_distance that are below 0.1 before ReCast receives them.
* Add Warning to NavigationMesh bake when source geometry is suspiciously bigsmix82022-05-111-0/+8
| | | | Adds Warning when users try to bake a NavigationMesh with suspiciously big source geometry and small cellsizes as this baking process will likely fail or result in a NavigationMesh that will create serious pathfinding performance issues.
* Use CollisionObject3D API when baking the navmesh with static colliders, ↵trollodel2022-05-021-8/+10
| | | | instead of collecting CollisionShape3D nodes
* Fix navmesh bakingPawel Lampe2022-04-081-50/+54
| | | | | | | - improved mesh data calculation from standalone static colliders so that no VisualServer calls are performed - and thus no VS mutexes need to be locked in case of on-thread baking - improved the same for GridMap's static colliders
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-1/+0
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Fix transforms involved into navmesh bakingPawel Lampe2022-01-311-14/+9
| | | | | | | Within the context of parsing navigation geometry, this commit: - added missing transform of `MultiMeshInstance` - changed all transforms to global ones so that they don't need to be calculated by hand
* Consider gridmap collisions in navigation bakerafallus2022-01-161-8/+94
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* NavigationMeshInstance: Fix typo to 'vertices'Rémi Verschelde2021-12-031-24/+24
|
* Let MultiMeshInstances affect NavigationMeshesCarlo Cabanilla2021-12-021-0/+16
|
* Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde2021-11-121-1/+2
|
* Merge pull request #52367 from Duroxxigar/improve-nav-error-messagesRémi Verschelde2021-10-211-1/+1
|\ | | | | Improve readability for failing errors in nav area
| * Improved readability for failing error conditionsDuroxxigar2021-10-081-1/+1
| |
* | Rename WorldMarginShape to WorldBoundaryShapePouleyKetchoupp2021-09-141-1/+1
|/
* Make radius & height in CapsuleShape3D independentPouleyKetchoupp2021-08-111-1/+1
| | | | | Also changed CapsuleMesh to make settings consistent between render and physics.
* Improve NavigationMesh typing, parameter validation and documentationHaoyu Qiu2021-08-111-2/+2
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-2/+2
|
* Misc cleanup of header includesRémi Verschelde2021-07-151-1/+1
| | | | | Was looking for misuse of module headers without checking that the module is actually enabled and got carried away...
* Rename `GdNavigationServer` to `GodotNavigationServer`Rémi Verschelde2021-06-301-0/+583
And rename `gdnavigation` module to simply `navigation`.