disallow portal passage for func_physbox

Avatar
Brainstone
401 Posts
Posted Aug 29, 2012
I want to disallow a certain func_physbox to pass through portals. Is that possible? the physbox cannot be made larger, because up from a certain height the player can't pick it up anymore, no matter how low the mass scale is.
Advertisement
Registered users don’t see ads! Register now!
Avatar
Sprowl
97 Posts
Posted Aug 29, 2012
Replied 21 minutes later
A filter should do that.
Create it and put the name of the physbox in it and set the option to disallow. Parent a func_clip_physics to both portals using a prop_portal and write the name of the filter into the right field. From now on everything that has the same name as the func_physbox can't go trough the clip in front of the portals.
Avatar
Brainstone
401 Posts
Posted Aug 29, 2012
Replied 14 minutes later
yeah, I had this idea already, but it's kind of a strange workaround. If there is no better option, I guess I'll do it.

But shouldn't the filter be set to "allow all entities that match criteria", so that the clip works only for the physbox?

Avatar
Sprowl
97 Posts
Posted Aug 29, 2012
Replied 10 minutes later
Now that you mention it..., I don't know. Try it out :wink: .
Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Aug 29, 2012
Replied 5 hours later
Parenting to portals works strangely, but SetOrigin works from a script.