The weapon passes through the walls.

Try setting the weapon’s collision presets to block worldstatic.