by Spike » Tue Mar 09, 2010 9:20 am
weapons are SOLID_TRIGGER, so you can walk through them, but they still get touch notifications from players that walk inside them.
actually solid pickups will block the player's motion as well. consider using SOLID_CORPSE if your engine supports that.
failing that, you could use find and a traceline that succeeds when it reaches the center of the pickup without hitting anything.
note that to do that, you should probably make all such pickups use a single classname.
.