mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
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() {
|
NavigationObstacle3D::NavigationObstacle3D() {
|
||||||
obstacle = NavigationServer3D::get_singleton()->obstacle_create();
|
obstacle = NavigationServer3D::get_singleton()->obstacle_create();
|
||||||
|
|
||||||
|
NavigationServer3D::get_singleton()->obstacle_set_height(obstacle, height);
|
||||||
|
|
||||||
set_radius(radius);
|
set_radius(radius);
|
||||||
set_height(height);
|
set_height(height);
|
||||||
set_vertices(vertices);
|
set_vertices(vertices);
|
||||||
|
Loading…
Reference in New Issue
Block a user