text: how does a rail-gun work?   a railgun creates an electric current that flows up on rail, through the projectile and down the other rail.  this current sets up a magnetic field that propels the projectile down the rail away from the power supply.