The test:
We execute the following commands:
Code: Select all
/c dir = defines.direction.north
/c pos={x=0,y=0}
/c for i=1,10 do for j=-1,1,2 do game.player.surface.create_entity{name="car",direction=dir,force="player", position={x=pos.x+3*i,y=pos.y+j*(22+i)/256.}} end end
We then build the following setup around the cars (all inserters extracting from the cars):
As can be seen, the inserters can extract starting from the 3rd car (i.e. shifted by +-25/256).
Similarly, for
Code: Select all
/c dir = defines.direction.south
Note that now inserters only start working at the 4th car.
Going to {0,1000}, things get even weirder:
North pointing cars:
South pointing cars:
Going to {0, 100000}:
North pointing cars:
South pointing cars:
The strange thing is that on one hand, the 1/256 position precision suggests the use of fixed-point numbers, while the behavior seems to originate in floating-point precision loss.