Fix NavigationObstacle3D height
Fixes NavigationObstacle3D height.
This commit is contained in:
parent
f333e4acf5
commit
b30b672649
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue