Moves projectile physics setup code into Projectile class.