⭐️⭐️⭐️⭐️⭐️ Local Avoidance – Published By Lukas Chodosevicius

This package contains fast lightweight solution for local avoidance. It is developed with DOTS in mind, as result it takes advantage of Unity l…

Keywords:

Path, Obstacle Avoidance, AI, RTS, Steering, agent

Short Description:

This package contains fast lightweight solution for local avoidance. It is developed with DOTS in mind, as result it takes advantage of Unity l…

Rating: ⭐️⭐️⭐️⭐️⭐️

Discount: None

Asset Title: Local Avoidance

Publisher: Lukas Chodosevicius

Category: tools, ai

More Details about this asset:

This package contains fast lightweight solution for local avoidance. It is developed with DOTS in mind, as result it takes advantage of Unity latest technology stack like SIMD mathematics, Jobs and Burst compiler.


Local avoidance allows agent to avoid dynamic obstacles, with accuracy, speed and not requiring pre processing. However keep in mind it does not replace global navigation (etc. A* Pathing solutions) which is designed to find most optimal path around static obstacles. Local avoidance it is intended to be used in complimentary with such a system in full scale game.

As result it is expected that this algorithm will degrade in accuracy based on how many agents are nearby, so it is not solution for crowd flows.

At its core it uses novel solution, which is heavily inspired by Starcraft 2 game.


The whole logic is separated into single structure and no components are used. Thus allowing easy integration in any existing Global Pathing system, regardless if it’s OOD or DOD.

For this reason this package is highly recommended for people who have coding experience as it is expected from user to integrate the solution into their own ecosystem. There are component ready demos, but they are solely there as examples.


Support Discord


Key Behaviours

  • Manages navigation out of concave obstacles
  • Circles target
  • Avoids head to head moving
  • Accurately respects radius when avoiding static obstacles
  • Accounts for obstacle’s velocities


Dependencies

  • Tested with Unity 2019.4
  • Package com.unity.mathematics
  • Package com.unity.collections
  • Package com.unity.burst


Note: This does not include Global Avoidance which is typical archieved using A* algorithm on data structures like NavMesh or Grid and targeted for static obstacles. Local avoidance typicaly used as complimentary system for it to target dynamic obstacle avoidance.

Leave a Reply