Despite on the a star algorithm, we will try to implement this algorithm to unity 3d c#. Before we start, let’s take a look A-Star algorithm below. 163 more words
Tags » Pathfinding
So, ive been tikering along learning some simple pathfinding. Currently the unit avoids any blocked tile.
Awesome, it worked! No touching lava here! Huzzah! I had some problems with the units spawning on blocked tile but after some fiddling i found a way to just nudge the unit to an adjacent tile and checks if that tile is free and places the unit there. 128 more words
Somebody found a few bugs in Spamocalypse, which turned out to be an issue with my pathfinding code. I had accidentally overwritten the navmesh when I generated one for a new level, which was caused by the meshes not being loaded beforehand. 129 more words