Question by
gsgamingteam · Jul 02, 2019 at 07:44 AM ·
c#movementpathfindingalgorithmtower-defense
Movement following the A* algorithm
Hello, I am creating a 3d Tower Defense game and I dont want my Enemies to follow a given waypoints as the player will be able to block their path. I have implemented A* pathfinding algorithm and it is working fine, but I dont know how to make the Enemy follow the path automatically. I really hope that you can help me with this. I want at the start of the game the enemy to be able to follow the Path and to reach the EndPoint. I really have no idea how to make it as the algorithm is not mine and I followed this A* tutorial. I will attach the scripts that I have below. Hope you guys will be able to help me. Thanks in advance!! The website is giving me errors when i am trying to attach .zip so here is my dropbox
Comment