diff --git a/scene/3d/navigation_obstacle_3d.cpp b/scene/3d/navigation_obstacle_3d.cpp index df6dd99aacd..c4301d78450 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);