The basic minigun is a six-barrel, air-cooled, and electrically driven rotary machine gun. The electric drive rotates the weapon within its housing, with a rotating firing pin assembly and rotary chamber. ... Other rotating-barrel cannons are powered by the gas pressure or recoil energy of fired cartridges.