This demo shows how the A* script can generate a grid from a texture, and then use it for navigation.
Black areas are walls and the green and red areas are walkable.
This demo shows how the A* script can generate a grid from a texture, and then use it for navigation.
Black areas are walls and the green and red areas are walkable.
Bra jobbat!
There’s an issue with blocking his way by plonking down blocks in front of his path, has this been fixed? Or is there a way to deal with it in some way? Like replotting his path every n milliseconds? Just starting out with Unity btw, this seems a great tool!
Hi Göran (wow, från Sverige, det var ovanligt)
There is no built in function for that yet, you can however implement you own just recalculating the path every 0.5 – 1 seconds.
I will add that to my list of things to add in the next version.
-Aron