To add to the spin part, watch someone throw a football without spin. The ball will wobble in mid air unpredictably.
It’s the same principle with a bullet, except the higher velocity results in loss of accuracy.
Spin is achieved by fine grooves in the barrel, the longer the barrel the more time is has to spin up.
Latest Answers