Page 1 of 1

[0.12] Collision_mask "item-layer" dont work

Posted: Tue Jul 21, 2015 11:49 am
by McGuten
I find a problem with collision_mask

I have a belt blocker in my mod and i use:

Code: Select all

	collision_mask = {"item-layer"},	
and work like that:

Image

Items go trought it

Re: [0.12] Collision_mask "item-layer" dont work

Posted: Tue Jul 21, 2015 1:46 pm
by bobingabout
This is probably due to the change in the way items move on belts to optimise code.

Re: [0.12] Collision_mask "item-layer" dont work

Posted: Wed Jul 22, 2015 3:41 am
by Rseding91
bobingabout wrote:This is probably due to the change in the way items move on belts to optimise code.
Correct. Items on transport belts are no longer actual entities so they have no entity collision logic. That means that the collision layer only applies when an item is dropped on the ground manually or through loot/inserters (anything not on a belt).

Re: [0.12] Collision_mask "item-layer" dont work

Posted: Sun Jul 26, 2015 3:17 am
by McGuten
And it will no longer be possible to make a blocker belt?