Players are not physics objects. Nor are projectiles or hitscan bullets. So that wouldn't do anything.
I know this topic is quite old, but I found the solution and didnt see the point of opening a new topic for it (correct me if im wrong)
I managed to accomplish this with a func_physbox_multiplayer
I kept the "Not solid to world" on its default of "Solid to world"
The only property I did change is disabling shadows
And in the flags I have the following checked:
- Start Asleep
- Debris - Don't collide with the player or other debris
- Motion Disabled
- Prevent motion enable on player bump
- Only break on trigger
- Don't take physics damage
- Don't allow bullet penetration
Im not entirely sure if all of these flags are required for it to work, but i figured its better to play safe
The result: The player can walk through the brush just fine, but bullets, melee hits, sandballs, arrows, explosions, fire, rockets, needles, grenades, sandviches, engineer building, sentry view, and almost everything else does not go through it
Things that ive tested that do still go through it:
Taunt kills
The Righteous Bison lazer does go through it, however it doesnt do any damage anymore after going through it
I know this thread is even more old since this post, but I tried this and it didn't work. Players could pass through it, but so could bullets. Also, there no longer seems to be a func_physbox_multiplayer, just func_physbox. Not sure if it is the reason why it didn't, probably not.
Sorry for necro.
Why not just use an automatic door like the ones in well? It is functionally identical unless someone holds it open (though this rarely happens in normal gameplay) and a player can quickly identify what it does without causing any confusion like an invisible wall or forcefield would.
"I did not follow the instructions and it did not work."