Page 1 of 1
[0.15.11] Locomotives can be placed over each other
Posted: Wed May 17, 2017 4:54 pm
by Mango
How to reproduce:
You must be standing on rails to force the locomotuve to squeeze between you and standing one.
Works the same with cargo and fluid wagons
Re: [0.15.11] Locomotives can be placed over each other
Posted: Wed May 17, 2017 5:01 pm
by Klonan
Mango wrote:
How to reproduce:
You must be standing on rails to force the locomotuve to squeeze between you and standing one.
Works the same with cargo and fluid wagons
Thanks for the report,
I can confirm the isssue
Re: [0.15.11] Locomotives can be placed over each other
Posted: Wed May 17, 2017 10:27 pm
by Rseding91
If you turn on the collision box debug option you can see that they're not actually over each other. The sprite is much larger than the actual train and then when you stand in the way the train can't auto-snap and connect so it just builds at that location.
You can reproduce this by building a train and driving it into the back of another train and then just repeat it.
If you don't want them to overlap don't stand in the way

Re: [0.15.11] Locomotives can be placed over each other
Posted: Thu May 18, 2017 11:02 am
by Mango
Rseding91 wrote:If you turn on the collision box debug option you can see that they're not actually over each other. The sprite is much larger than the actual train and then when you stand in the way the train can't auto-snap and connect so it just builds at that location.
You can reproduce this by building a train and driving it into the back of another train and then just repeat it.
If you don't want them to overlap don't stand in the way

True.. but you can do the same thing with wagons and there is a problem.
The inserter can put things into both wagons.
It will start with the right one and when that moves away it will insert into left.
Re: [0.15.11] Locomotives can be placed over each other
Posted: Thu May 18, 2017 6:09 pm
by Rseding91
Mango wrote:Rseding91 wrote:If you turn on the collision box debug option you can see that they're not actually over each other. The sprite is much larger than the actual train and then when you stand in the way the train can't auto-snap and connect so it just builds at that location.
You can reproduce this by building a train and driving it into the back of another train and then just repeat it.
If you don't want them to overlap don't stand in the way

True.. but you can do the same thing with wagons and there is a problem.
The inserter can put things into both wagons.
It will start with the right one and when that moves away it will insert into left.
Turn on the collision box debug option: both trains collide with the tile the inserter is looking to pickup/dropoff from which means they're both valid to interact with

Re: [0.15.11] Locomotives can be placed over each other
Posted: Thu May 18, 2017 6:13 pm
by Ranakastrasz
And yet this is clearly still a bug, regardless of how amusing it is. Just because you "Know why it happens" and "It still works even if you do this" doesn't make it less of a bug.
The things are phasing into each other...... It looks weird.
If you try to do this, it should place on top of the player and kill you instead....
Re: [0.15.11] Locomotives can be placed over each other
Posted: Thu May 18, 2017 6:49 pm
by Rseding91
Ranakastrasz wrote:And yet this is clearly still a bug, regardless of how amusing it is. Just because you "Know why it happens" and "It still works even if you do this" doesn't make it less of a bug.
The things are phasing into each other...... It looks weird.
If you try to do this, it should place on top of the player and kill you instead....
Nah, loads of entities in the game render on top of each other and outside the collision box of the entity. That's hardly worth spending any developer time on when it doesn't break any game mechanics and doesn't crash the game.
There are also tons of "issues" with baked-in shadows rendering when lights are sitting right next to the thing which we also aren't going to spend time on. At some point we have to stop and say "is this worth it to spend time on?" and in this case: no, no it's not.
If you dislike it, don't do it in your game

Re: [0.15.11] Locomotives can be placed over each other
Posted: Thu May 18, 2017 9:02 pm
by Ranakastrasz
Oh, I know its not worth fixing at this time, but that doesn't make it not a bug. It is clearly unintended behavior, and doesn't add anything positive to the game. Just because its a minor bug with minimal impact doesn't make it not a bug.