After digging in some information about Artificial intelligence, I found that with this comes the word pathfinding. The best way to generate a movement is trough paths, where the object walks toward for example the player.
I found this video, where they fully explain a free grid, the path, generator. In the video they refer to the site arongranberg.com/astar. I imported this tool and generated my grid. Now I had a grid, a video which explains a lot and the documentation from Aron Granberg.
I found a script by Aron Granberg an another very good tutorial, even better than the Unity Cookie one. I attached an AIfollow to my "Enemy" and it now follows me!
This AIFollow script is written by Aron Granburg, but I will modify it later on to my own script.
I found a script by Aron Granberg an another very good tutorial, even better than the Unity Cookie one. I attached an AIfollow to my "Enemy" and it now follows me!
This AIFollow script is written by Aron Granburg, but I will modify it later on to my own script.
No comments:
Post a Comment