Nav mesh and ai.

Thanks that seems to be far better than what I came up with.