[0.18.1] Train rerouting instantly reverses direction

Bugs that are actually features.
Post Reply
Hannah97Gamer
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Nov 11, 2019 5:39 am
Contact:

[0.18.1] Train rerouting instantly reverses direction

Post by Hannah97Gamer »

When setting up a double headed train route, I set the destination to the station I had just left. The train instantly switched directions as if it had hit a much harder than brick wall. There was no deceleration, just an instant switch from going one way to going the other.
2020-01-26 18-55-20.mp4
(5.98 MiB) Downloaded 58 times
I would have expected the train to come to a stop, then start accelerating the other direction.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.1] Train rerouting instantly reverses direction

Post by boskid »

Train could not find a path that would keep movement direction and so it instantly stopped and found path in opposite direction. This is how trains work. This is good approximation to avoid cases where train would have to remember part of old path to decelerate (going straight back could enter blocks reserved for other trains and collide) and then reversing that part and attaching it to existing path found or repathing from the brake point. Too much complication, not enough value.

Also related: 44866

Post Reply

Return to “Not a bug”