Skip to content

Commit

Permalink
Merge pull request #83701 from smix8/obstacle_height_4.x
Browse files Browse the repository at this point in the history
Fix NavigationObstacle3D height
  • Loading branch information
akien-mga committed Oct 21, 2023
2 parents 918da63 + b30b672 commit 0dc915b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scene/3d/navigation_obstacle_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,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);
Expand Down

0 comments on commit 0dc915b

Please sign in to comment.