Skip to content

Commit

Permalink
Fix NavigationObstacle3D height
Browse files Browse the repository at this point in the history
Fixes NavigationObstacle3D height.
  • Loading branch information
smix8 committed Oct 20, 2023
1 parent f333e4a commit b30b672
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 @@ -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);
Expand Down

0 comments on commit b30b672

Please sign in to comment.