Page 1 of 1
Moving buildings incorrectly overlap
Posted: Sun Dec 31, 2017 4:15 pm
by voddan
Graphics of some moving buildings incorrectly overlap with other buildings.
I took the screenshots on Windows 64 with graphic settings on "high". The Factorio version is 0.16.12
Example 1: inserters overlap with electric poles:

- factorio inserter overlap 2.PNG (363.24 KiB) Viewed 1552 times

- factorio inserter overlap 1.PNG (249.77 KiB) Viewed 1552 times
Example 2: artillery cannons overlap each other at certain angles

- factorio cannons overlap 3.PNG (1.08 MiB) Viewed 1552 times

- factorio cannons overlap 2.PNG (1018.15 KiB) Viewed 1552 times
Re: Moving buildings incorrectly overlap
Posted: Sun Dec 31, 2017 6:48 pm
by Rseding91
Thanks for the report. This is a side effect of the game being 2D but trying to simulate 3D to some degree.
It's not going to ever be fixed since it's impossible to fix it without making the game full 3D (which isn't going to happen in Factorio 1).
Re: Moving buildings incorrectly overlap
Posted: Sun Dec 31, 2017 7:01 pm
by voddan
Hm, can't it be done in 2D?
I would thought that having buildings drawn from north to south would do the trick.
E.i. example 2 the inserter is north of the electric pole, so it should be drawn first and pole should be drawn second.
I haven't looked into corner cases for this method, but it feels that it could be made work.
The example with artillery guns is trickier because the barrel goes out of the limits of the base.
One method could be to draw the base of a gun first, and then draw the moving part of the barrel.
What do you think?
Re: Moving buildings incorrectly overlap
Posted: Sun Dec 31, 2017 7:13 pm
by Rseding91
voddan wrote:I would thought that having buildings drawn from north to south would do the trick.
They already are. But the inserter arm has to be on top of the inserter and on top of the machine below, above, to the left of, and to the right of the machine. By having it on top of those it ends up on top of the electric pole that's at the same Y axis.