That's a Source thing, not specifically a TF2 thing. You can do the same in Portal 2. The only problem is that it just looks horrible.
I'm James, the Executive Director of Frayed Wires Studios. Check out our page for info on all our mods. We're the developers of mods like Mass Effect: Unification, and many others.