The distribution of charged particles near a moving spacecraft