{"id":740,"date":"2017-07-15T23:03:45","date_gmt":"2017-07-15T22:03:45","guid":{"rendered":"http:\/\/documentation.particleflocker.com\/?post_type=docs&#038;p=740"},"modified":"2017-07-15T23:09:15","modified_gmt":"2017-07-15T22:09:15","slug":"obstacle-avoidance","status":"publish","type":"docs","link":"http:\/\/documentation.particleflocker.com\/?docs=flocking-systems\/obstacle-avoidance","title":{"rendered":"Obstacle Avoidance"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignright wp-image-741 size-medium\" src=\"http:\/\/documentation.particleflocker.com\/wp-content\/uploads\/ObstacleAvoidance-279x300.jpg\" alt=\"\" width=\"279\" height=\"300\" srcset=\"http:\/\/documentation.particleflocker.com\/wp-content\/uploads\/ObstacleAvoidance-279x300.jpg 279w, http:\/\/documentation.particleflocker.com\/wp-content\/uploads\/ObstacleAvoidance.jpg 431w\" sizes=\"(max-width: 279px) 100vw, 279px\" \/><\/p>\n<p>Obstacle avoidance is a very similar concept to the <a href=\"http:\/\/documentation.particleflocker.com\/?docs=flocking-systems\/standard-flocking-behaviour\/separation\">Separation <\/a>rule. The only real difference is that it is used to avoid obstacles in the world rather than members of the flock.<\/p>\n<p>Obstacle avoidance is different from a steering behaviour like <a href=\"http:\/\/documentation.particleflocker.com\/?docs=flocking-systems\/steering-behaviours\/flee\">Flee <\/a>in that corrective steering will only take place if required.<\/p>\n<p>During simulation, boids look along their current trajectory to see if there is likely to be a future collision with an obstacle. If a collision is predicted they will take evasive action to avoid that collision. However if no potential collision is detected, they will not change course.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_tag":[],"_links":{"self":[{"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/docs\/740"}],"collection":[{"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=740"}],"version-history":[{"count":6,"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/docs\/740\/revisions"}],"predecessor-version":[{"id":748,"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/docs\/740\/revisions\/748"}],"up":[{"embeddable":true,"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/docs\/33"}],"prev":[{"title":"Steering Behaviours","link":"http:\/\/documentation.particleflocker.com\/?docs=flocking-systems\/steering-behaviours","href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=\/wp\/v2\/docs\/46"}],"wp:attachment":[{"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=740"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"http:\/\/documentation.particleflocker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}