Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

A* pathfinding script struggle

$
0
0
Hello, First of all, i wanna say thanks to all the people who take their time helping others who, like I, struggle with issues that may seem simple for others, but complicated for the the ones in cause. Now, to the point: Im trying to make some kind of a pac-man game, and i've come to the most challenging part for me, that being the AI. After some research, i've decided to use the A* Pathfinding Project package, and to be more specific, i'm using the Grid Graphs feature. I've watched numerous videos regarding this project, and unfortunately i couldn't find any tutorial that can help me understand how to make the script that would make the BOT do his job. I've also tried to understand the "MineBotAI" script that they have in the Example Scenes, but that did not work for me either. I want to mention that i am a beginner in both using Unity and also in programming. After all that, here is my question: Can anyone give me some kind of advice on how to make that script, or maybe help me understand how the "MineBotAI" works ? PS: I'm using JavaScript. Also, i've attached an image of the map with the grid visible, so you can make an idea of what i'm looking for it to do.![alt text][1] Any kind of help, would be much appreciated. [1]: /storage/temp/21004-map_grid.jpg

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>