I am currently working on the prototype of a city building game. Sadly I just run into a problem which I can’t solve due to lack of knowledge in vector operations. The game has a grid of 20x20 tiles. When I build something on a tile, the coordinates now occupied by that building get stored into an “OccupiedPositions” array. Now I am trying to build roads: conceptually, I must place a Flag A where I want the road to start and a Flag B where I want the road to finish. How can I find the coordinates between the two points and recalculating the path for avoiding the “OccupiedPositions” stored coordinates? I know it is not an easy task but I would really appreciate your help. Thank you in advance!