From b30b672649ec2f0f068b4505d3ba79567657fe0f Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Sat, 21 Oct 2023 00:08:50 +0200 Subject: [PATCH] Fix NavigationObstacle3D height Fixes NavigationObstacle3D height. --- scene/3d/navigation_obstacle_3d.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/3d/navigation_obstacle_3d.cpp b/scene/3d/navigation_obstacle_3d.cpp index df6dd99aacdd..c4301d784507 100644 --- a/scene/3d/navigation_obstacle_3d.cpp +++ b/scene/3d/navigation_obstacle_3d.cpp @@ -162,6 +162,8 @@ void NavigationObstacle3D::_notification(int p_what) { NavigationObstacle3D::NavigationObstacle3D() { obstacle = NavigationServer3D::get_singleton()->obstacle_create(); + NavigationServer3D::get_singleton()->obstacle_set_height(obstacle, height); + set_radius(radius); set_height(height); set_vertices(vertices);