I'm currently building a world in which coilguns are the primary ranged weapons. Technology is advanced enough to allow for portable high velocity coilgun weapons. I'm assuming the projectiles fired from these weapons will have velocities roughly similar to modern firearm velocities.
I like the idea of a sort of "force field" which will only block the ferromagnetic projectiles fired from coilguns. My question is could some form of electromagnet be made to trap coilgun projectiles before they hit their target, similar to how that mech suit from District 9 catches bullets? Or would something like that just attract bullets straight into the user? I assume the electromagnet device will have the ability to detect projectiles moving above a certain velocity toward the user, and thus only activate when necessary.
If you have any alternative suggestions for stopping ferromagnetic projectiles those are welcome as well.
Since I'm not too concerned with exact mathematical equations for this, I really just want to know if something like this is possible if the only limitation is the laws of physics. We can basically assume unlimited technological and energy resources since I'm more than willing to fudge the numbers for "rule of cool".