This is my CIWS Prototype. I will update it as I learn the mathematical formula. The red target rotates and moves on its own axis, like a real self-propelled target would; and is targeted by the Yellow/Red CIWS gun. Essentially, it moves itself and turns itself. The blue target rotates around a fixed axis, and moves around like a ball attached to a wire. It is targeted by the Blue/Green CIWS gun. Essentially, it it requires a spinning motion to rotate. The slider controls the bullet speed. Note; in the future, I will make it so that the CIWS account for the new velocity. I will also add a slider to change the target speed, and the CIWS will react accordingly. The bullets also have a 1/3 chance to change their axis by either 1,0, or -1 degree. Note that the slider should be set to "6" in order to properly hit the targets.
Credit to me for coming up with the formulas.