Pretty good projectile function.