[1.1.6] Spidertron leg collision boxes cannot be turned off

Bugs that are actually features.
Xorimuth
Filter Inserter
Filter Inserter
Posts: 731
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

[1.1.6] Spidertron leg collision boxes cannot be turned off

Post by Xorimuth »

To reproduce, set the spidertron leg collision boxes to `nil` at https://github.com/wube/factorio-data/b ... es.lua#L84.

They disappear from the `show-collision-rectangles` debug view but you can still crash into the legs with eg a car.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Rseding91
Factorio Staff
Factorio Staff
Posts: 16095
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.6] Spidertron leg collision boxes cannot be turned off

Post by Rseding91 »

Thanks for the report however this isn't related to the spidertron legs; the logic is in cars and that they will collide with things that have zero sized bounding boxes if the collision mask collides with the cars collision mask (as intended).

You need to make the two collision masks not collide if you want them to not collide.
If you want to get ahold of me I'm almost always on Discord.
Xorimuth
Filter Inserter
Filter Inserter
Posts: 731
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: [1.1.6] Spidertron leg collision boxes cannot be turned off

Post by Xorimuth »

Thanks very much. Setting the legs' collision masks to `{}` fixed the problem.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Post Reply

Return to “Not a bug”