Page 1 of 1

[0.17.59] Projectiles disobey collision mask setting

Posted: Fri Jul 26, 2019 11:52 pm
by Earendel
A projectile given a collision mask (such as "layer-13") and a collision box will collide with other entities (such as a "small-spitter") even though the entities don't collide with the projectile's layer.

The easiest way to replicate is to use the walls-block-splitters mod: https://mods.factorio.com/mod/walls-blo ... /downloads
and get a spitter to shoot at you over another spitter, but the middle spitter gets hit.

Re: [0.17.59] Projectiles disobey collision mask setting

Posted: Sat Jul 27, 2019 7:55 am
by posila
On ProjectilePrototype, you need to set hit_collision_mask. collision_mask is probably ignored completely on projectiles