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.
2 parents bb4763e + 780f3d5 commit aa035bcCopy full SHA for aa035bc
modules/navigation_2d/nav_map_2d.cpp
@@ -444,6 +444,9 @@ void NavMap2D::_update_rvo_obstacles_tree() {
444
// The following block is modified copy from RVO2D::AddObstacle()
445
// Obstacles are linked and depend on all other obstacles.
446
for (NavObstacle2D *obstacle : obstacles) {
447
+ if (!obstacle->is_avoidance_enabled()) {
448
+ continue;
449
+ }
450
const Vector2 &_obstacle_position = obstacle->get_position();
451
const Vector<Vector2> &_obstacle_vertices = obstacle->get_vertices();
452
0 commit comments