make projectile stop when it hits something.