Page 1 of 1
[0.11.15] Inserters not unloading from wagon
Posted: Sat Feb 07, 2015 7:48 am
by dee-
Eventhough it looks like the wagon should be in reach for the inserters they aren't interested in the wagon.
The wagon was placed by hand and it's easy to see that some inserters are not reaching for the wagon while others do.
Edit:
another screenshot.
Edit:
yet another screenshot.
When placing a second wagon next to the first the inserters for the first wagon wake up and reach for it. Now not all inserters of the second wagon reach.
Is there some kind of "wake up" hitbox/logic that's moved a bit to the left?

Re: [0.11.15] Inserters not unloading from wagon
Posted: Sat Feb 07, 2015 7:57 am
by kovarex
Well, it is not a bug, but property of the wagon. You can take a look at the bounding box.
The problem is, that the bounding box can't be bigger to avoid the train crashing with itself and other trains.
Re: [0.11.15] Inserters not unloading from wagon
Posted: Sat Feb 07, 2015 8:02 am
by dee-
But the "reach box" of the inserters is bigger than the "collision box" of the wagon as inserters have an arm and can reach further than the plain hitbox. Maybe a second hitbox, one for reach and one for collision checks, could help? (major reworks

)
It also does not explain why the inserters can suddenly rech the first wagon after the second has been placed (at least to me).
Re: [0.11.15] Inserters not unloading from wagon
Posted: Sat Feb 07, 2015 8:06 am
by kovarex
dee- wrote:But the "reach box" of the inserters is bigger than the "collision box" of the wagon as inserters have an arm and can reach further than the plain hitbox. Maybe a second hitbox, one for reach and one for collision checks, could help? (major reworks

)
It also does not explain why the inserters can suddenly rech the first wagon after the second has been placed (at least to me).
There is a special piece of logic, that when there is a train on the rail, the inserter tries to look on the neighbour rails if it couldn't find a wagon that could be used. There might be similar logic when the inserter is at the edge, but I would have to think it out careful to not break anything and to not make it performance heavy.
Re: [0.11.15] Inserters not unloading from wagon
Posted: Sat Feb 07, 2015 8:50 am
by JimiQ
I would much rather see inserters on the edge unload at the same speed as those in the middle
