Hi James, I am going to offer this solution since I don't think you have nailed down your problem to exactly what is going on. My guess is that the trace is hitting the rain entity itself. I say this because you have not added the rain entity a the "ignored entity" and have allowed the trace to hit ANYTHING.
Try this code: UTIL_TraceLine( vOldPos, pParticle->m_Pos, MASK_SOLID, this, COLLISION_GROUP_PLAYER, &tr ); if( tr.surface.flags & SURF_SKY ) { // Game Over, we hit the sky box, remove the mine from the world UTIL_Remove(this); return false; } Right before the collision group is "this" which if function call is called in the rain entity class will produce the desired results. Otherwise you might have to explicitly call on the rain particle entity (pParticle)? I am not sure of your setup at the moment or if you are even using entities, just wanted to throw it out there. Thanks Killermonkey _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders