Hello,
I am using a grid graph for a rimworld like game and need to pathfind to neighbour tiles of objects (for example if a furniture is beeing build the character needs to stand adjacent to the object).
So i would like to be able to pass a set of graphnodes (neighbours) to the pathfinding while making it search for a path to the objects main tile and as soon as it gets to one of the neighbours it should stop and return the path for my character (and behave like its found its destination).
I would be glad if someone could give me a hint where to start.
Also pardon my english please, im not a native speaker.