I'm making a game where the player is building a railroad track on a tilemap layout and the train starts running, forcing you to build the track as fast as you can until you get to the goal.
I'm having trouble figuring out how the train will find its path to take along the track. Since the track is never connected to the goal, I'm stumped on how to pathfind.
I saw this () great post from a few days ago about a behavior plugin, but I'm not sure if I can use it because a complete path won't be possible.
Does anyone have an idea about how to approach this?
Thanks so much!