[Navigation] Create a dedicated 2D navigation server

* Add a dedicated 2D server
* Create dedicated tests
* Split performance metrics between 2D and 3D
* Rename the 3D only server module
This commit is contained in:
A Thousand Ships 2025-02-26 11:48:13 +01:00
parent 7598b08ec2
commit 5cc0539961
No known key found for this signature in database
GPG key ID: DEFC5A5B1306947D
90 changed files with 8083 additions and 910 deletions

View file

@ -37,7 +37,7 @@
namespace TestNavigationObstacle3D {
TEST_SUITE("[Navigation]") {
TEST_SUITE("[Navigation3D]") {
TEST_CASE("[SceneTree][NavigationObstacle3D] New obstacle should have valid RID") {
NavigationObstacle3D *obstacle_node = memnew(NavigationObstacle3D);
CHECK(obstacle_node->get_rid().is_valid());