Collision Masks
Posted: Wed Oct 19, 2016 9:50 pm
Hi guys
I was wondering if anyone knows what the collision mask of gates is? Specifically how it allows players through but not biters?
Unless there is a hard-coded check for players nearby, the only way I can see it working is if players have a different collision mask to biters. There is no "enemy-layer" so it doesn't seem likely to me.
I'm asking because gates collide with water_tiles, which is really inconvenient for me, so I've tried changing their collision mask, but the settings I choose seem to allow both players and biters through or neither. Either I've messed up the gate collision mask, or perhaps the biter mask.
Thanks
I was wondering if anyone knows what the collision mask of gates is? Specifically how it allows players through but not biters?
Unless there is a hard-coded check for players nearby, the only way I can see it working is if players have a different collision mask to biters. There is no "enemy-layer" so it doesn't seem likely to me.
I'm asking because gates collide with water_tiles, which is really inconvenient for me, so I've tried changing their collision mask, but the settings I choose seem to allow both players and biters through or neither. Either I've messed up the gate collision mask, or perhaps the biter mask.
Thanks