Search Unity

Obstacles

Discussion in 'Scripting' started by alterus, Nov 10, 2014.

  1. alterus

    alterus

    Joined:
    Sep 9, 2012
    Posts:
    59
    Hello

    As far as I know there are two ways of avoiding obstacles

    a) To use whiskers
    b) To use repulsive forces

    the former causes jerky movements
    the latter is too expensive with many obstacles

    What do you suggest ?
    Thanks in advance for your support
     
  2. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,702
  3. Epictickle

    Epictickle

    Joined:
    Aug 12, 2012
    Posts:
    431
    There's also the A*Pathfinding Project on the Asset Store. I highly recommend that one, but like Tony said, Unity has their own implementation as well, and as far as I know they use a Navmesh, which is quickly becoming the standard for pathfinding.