diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2023-10-21 00:08:50 +0200 |
---|---|---|
committer | smix8 <52464204+smix8@users.noreply.github.com> | 2023-10-21 00:08:50 +0200 |
commit | b30b672649ec2f0f068b4505d3ba79567657fe0f (patch) | |
tree | d9e9e0b86170d9c58d385be77464248877fd0e56 | |
parent | f333e4acf5b9cb04b3fba5dfc554107295db87b1 (diff) | |
download | redot-engine-b30b672649ec2f0f068b4505d3ba79567657fe0f.tar.gz |
Fix NavigationObstacle3D height
Fixes NavigationObstacle3D height.
-rw-r--r-- | scene/3d/navigation_obstacle_3d.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/navigation_obstacle_3d.cpp b/scene/3d/navigation_obstacle_3d.cpp index df6dd99aac..c4301d7845 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); |