"make it so the npc can detect walls and obstacles and go around them"