[0.14.5] [Rseding91] Rail Floor Placement Bug

This subforum contains all the issues which we already resolved.
Post Reply
CentricArts
Inserter
Inserter
Posts: 26
Joined: Wed Apr 13, 2016 1:06 am
Contact:

[0.14.5] [Rseding91] Rail Floor Placement Bug

Post by CentricArts »

Theses two rails are in the same vertical axis, but the top rail pointing down has a different hotbox compared to the one on the bottom rail pointing up.
this bug doesn't work in any other rail direction*
Attachments
001.png
001.png (978.57 KiB) Viewed 3233 times
600 hours in factorio? No problem.

Loewchen
Global Moderator
Global Moderator
Posts: 8284
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.14.5] Rail Floor Placement Bug

Post by Loewchen »

Please upload the save.

CentricArts
Inserter
Inserter
Posts: 26
Joined: Wed Apr 13, 2016 1:06 am
Contact:

Re: [0.14.5] Rail Floor Placement Bug

Post by CentricArts »

Loewchen wrote:Please upload the save.
The lamps represent where I can place around the rails.
The 'hitboxes' are broken.

http://www.mediafire.com/download/l6i31 ... w/0.14.zip
Attachments
Far east of the factory you'll find this example
Far east of the factory you'll find this example
23aa43031fe17b843327c2a94a271ef9.png (657.26 KiB) Viewed 3215 times
600 hours in factorio? No problem.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.14.5] Rail Floor Placement Bug

Post by kovarex »

CentricArts wrote:
Loewchen wrote:Please upload the save.
The lamps represent where I can place around the rails.
The 'hitboxes' are broken.

http://www.mediafire.com/download/l6i31 ... w/0.14.zip
This is what the building collision box was for, which Rseding91 removed saying we don't need it anymore. I'm curious how will he solve this.

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

Re: [0.14.5] Rail Floor Placement Bug

Post by Rseding91 »

kovarex wrote:
CentricArts wrote:
Loewchen wrote:Please upload the save.
The lamps represent where I can place around the rails.
The 'hitboxes' are broken.

http://www.mediafire.com/download/l6i31 ... w/0.14.zip
This is what the building collision box was for, which Rseding91 removed saying we don't need it anymore. I'm curious how will he solve this.
The top issue is easy, just reducing the already-broken bounding box of the curved rail by a few pixels would "fix" it. The bottom thing isn't an issue. The train won't hit those lamps and if you don't want the weird visual just don't build them there.

There's 1 root issue at play: We're attempting to simulate a curved bounding box with 2 imperfect rotated bounding boxes which themselves are then rotated based off the direction of the curved rail. No system we can put in place will solve it perfectly short of a pixel perfect bounding box (which Factorio doesn't support at the core). All solutions have some fault - minor visual oddities like the lamps slightly overlapping the rail don't break gameplay compared to the alternatives.
If you want to get ahold of me I'm almost always on Discord.

CentricArts
Inserter
Inserter
Posts: 26
Joined: Wed Apr 13, 2016 1:06 am
Contact:

Re: [0.14.5] [Rseding91] Rail Floor Placement Bug

Post by CentricArts »

I don't really want to make you guys go out of your way to do something extreme like perfect bounding boxes, there are tons of other important shit you can be doing within that time. It's just the top image which is the main problem, like you said. Just because consistency and symmetricalness.
600 hours in factorio? No problem.

Post Reply

Return to “Resolved Problems and Bugs”