Hello guys,
I'm new at both unity and playmaker. I have a doubt about what NavMesh can do.
By now I have a 7x7 square grid and a character stuck in the central square. Clicking any square will turn it into an walkable square.
I want the character to check after each click if there is a path to the edges, and if there are two or more, which is the shortest.
As I have limited programming skills, my solution was to check if he could walk to his adjacent squares, and after to the adjacent of this last one, continuing until reach the edge.
But I've noticed that would be a ridiculously amount of loops to do that, and as the idea of the game is to have characters with different weights, it would have to do all loops for weight 1,2, etc.
So, my doubt is: can NavMesh recheck the best path when I click and a square starts being walkable? If yes, could it be done through playmaker?
Thank you