We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b22b41 commit 09c9bccCopy full SHA for 09c9bcc
modules/navigation_3d/nav_map_3d.cpp
@@ -500,6 +500,9 @@ void NavMap3D::_update_rvo_obstacles_tree_2d() {
500
// The following block is modified copy from RVO2D::AddObstacle()
501
// Obstacles are linked and depend on all other obstacles.
502
for (NavObstacle3D *obstacle : obstacles) {
503
+ if (!obstacle->is_avoidance_enabled()) {
504
+ continue;
505
+ }
506
const Vector3 &_obstacle_position = obstacle->get_position();
507
const Vector<Vector3> &_obstacle_vertices = obstacle->get_vertices();
508
0 commit comments