Currently i am working on a game where i have more then one buildings as targets. Player have to move toward one of them. The environment is like a city where we have a lot of buildings.
Please help me to find the distance between player and the particular building ignoring all other buildings as obstacle.
Please don’t answer like that
var distance = Vector3.Distance(object1.transform.position, object2.transform.position);
I want the distance as to be accessed using pathfinding technique.
Thanks…