#IGBR: Drill ejecting ore in wrong location

1 messages · Page 1 of 1 (latest)

radiant trailBOT
sage stratus
#

Might be the corner?

fringe shard
#

Yes but of the wrong tile. If you remove the first conveyor belt it is not spawning any ore.
Stumbled upon this multiple times now but I'm not sure how to reproduce this yet. So wanted to secure the save file.

sage stratus
#

Can you reproduce it with that corner maybe?

fringe shard
#

Seems to be the specific location of the drill in relation to the landing spot of the Magpie. Counted from the rightmost stockpile: 8 north, 1 west.
A drill in that location and in that rotation is not linking the conveyor belt to the south in its BuildingConnections on build. For some reason it is only linking any conveyor belt offset 1 tile to the east.
Any ideas on where this might stem from @keen garden?

keen garden
fringe shard
keen garden
#

It's in the BuildBuildingConnectionsSystem

fringe shard
#

@keen garden You were right. It really was a floating point error. The calculated SnappedGridPositionFromRotation jumped to the wrong tile in some instances. I added a slight safety offset for the position check to prevent this. => Bug fixed ✅