I am making a game where I need AI. The map is randomly generated (with the use of DunGen. Awesome asset!) and I need the AI to navigate to the player without any problem. But when I try to make my own, it get’s stuck in door holes, falls through the floor of some odd reason and even more stuff that is not supposed to happen. So do anyone know a good asset that allows you to just set a target and it finds the player?
It doesn’t matter is the Asset is free or costs $500. Just tell me!
I believe 99% of AI movement using all of the things you have listed in your title
you could look at this however its pretty nice http://arongranberg.com/astar/
I haven’t found ANY assets that doesn’t need waypoints or navmesh to work. But I have played around a bit with this one. (The free version) I can’t get it to work for the random generation.
TerrainEngine can create precedural terrain and also have an AI pathsystem built(was in creation not sure if ever completed)
Not sure if it can do everything u need to, so research it.
Here’s a demo:
Here is the forum thread(this is a very expensive asset)
You will struggle to find any AI that does not use a Navmesh/WayPoints etc… reading the terrain in real time is a whole new ball park compared to having pre determined pathways or navmeshes.
EDIT
Another approach could be to rebake or edit the navmesh or pathways when new terrain is created/edited during runtime, however this can be complicated and resource heavy. EDIT
You can bake your navmesh at runtime, and use your random generated map. Doesn’t seem difficult at all. Unity has a short tutorial called “Baking Navmeshes at runtime” that guides you trhough the process.