question

christian.n avatar image
0 Likes"
christian.n asked Jordan Johnson answered

Combining travel Networks and A Star

Is it possible for an operator to leave a travel network and use A*Star in a given area, and the return to the travel network?

I am working on a model stretched over a large area, where operators have to travel long distances and then do some detailed navigation at certain areas.

I have attached a model where I test disassociuating the operator from the travel network and add it to the Astar navigator. It does not work as intended, though.

Is there a clever way of doing this?

astar-test.fsm

Best regards
Christian

Choose One
astartravel networks
astar-test.fsm (23.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
5 Likes"
Jordan Johnson answered

As far as I know, there is not a way to safely or correctly "transfer" travelers from AStar to another navigator.

Here's what you can do instead:

Here's the idea: Completely block off the two (or more) areas from each other with barriers and dividers. Then use the Bridge to provide a path between sections. That way, the only way from place to place is over the bridge. You can optionally give the bridges a virtual length, so that you can arrange your model however you want, but still have correct distances between sections.

astarbridge.fsm


astarbridge.png (28.0 KiB)
astarbridge.fsm (16.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.