[0.14.21] Chest on rails

This subforum contains all the issues which we already resolved.
Jusgast
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Feb 17, 2016 11:32 pm
Contact:

[0.14.21] Chest on rails

Post by Jusgast »

Hey there!
I found that I can place chests on rails. See attached image.
Image

Removed all mods and still. Also tried other types of chest and other items. Only chests work, but I have not tried EVERY single item.
Image

Trains do ride over it, the image of the chest dissapears under the train but comes back between wagons.

If you need more info, please respond.

Jusgast
Rseding91
Factorio Staff
Factorio Staff
Posts: 14316
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.21] Chest on rails

Post by Rseding91 »

Yep, but the trains won't hit it. If you don't want them there don't build them there. They aren't colliding with the rails. If you enable the collision box debug option you can see they don't actually collide.
If you want to get ahold of me I'm almost always on Discord.
Jusgast
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Feb 17, 2016 11:32 pm
Contact:

Re: [0.14.21] Chest on rails

Post by Jusgast »

Well, why can't other items be placed at that location then?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14316
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.21] Chest on rails

Post by Rseding91 »

Jusgast wrote:Well, why can't other items be placed at that location then?
They could if they had tiny collision boxes. Small electric poles are one such entity. It's a quirk of the curved rail actually being 2 rotated bounding boxes and not a real curved collision box.

It's *the* most annoying entity in the game when it comes to collisions. To change it at all breaks rail signals and rail connection logic all over the place.
If you want to get ahold of me I'm almost always on Discord.
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.14.21] Chest on rails

Post by HanziQ »

This is definitely a bug, the collision detection code is flawed and only checks the left top point, which normally works, but not in this case. Moved back to bug reports.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14316
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.21] Chest on rails

Post by Rseding91 »

HanziQ wrote:This is definitely a bug, the collision detection code is flawed and only checks the left top point, which normally works, but not in this case. Moved back to bug reports.
Wow, you're right :) This is something completely different than what I was thinking. The logic was just completely wrong.

Fixed for 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”