Creating a graph for moving objects

We have trains in our games, that npcs need to be able and board (no problem) but also to find their way around in to sit down.

How can I approach creating a graph for an object that is constantly moving in world space, although its structure remains the same?

Hi

If you have the pro version you can take a look at the example called “Moving”, it shows a graph on top of a moving ship (basically it fakes the movement by in the movement scripts when requesting paths, translating from the world coordinates to ship-local coordinates which are used for the graph).
It might be a bit tricky to get that graph to connect with the rest of the world though, but it should be doable with some node links and some code.