prevent ai from walking through walls