I have had sucess (sort of) with this by making a polygon that covers a soldat up to his full height while crouching and putting a collider right under the polygon, then putting a V shaped polygon above it so there is JUST enough room for bullets to go through, but people cannot and enemies basically cannot. This only works horizontally though...