Search Unity

AI help

Discussion in 'Scripting' started by simplicitygs, Jul 26, 2014.

  1. simplicitygs

    simplicitygs

    Joined:
    May 14, 2014
    Posts:
    9
    I am currently working on a simple ai zombie that will continuously follow, and attack the player. I have gotten to the part where it will follow the player, and even damage the player as well. However, I am wondering what is the best way to have the ai not walk through walls/go around them?
     
  2. Hard target

    Hard target

    Joined:
    Oct 31, 2013
    Posts:
    132
    Make a navmesh with holes in it for your buildings.
     
    MysterySoftware likes this.