Spacecraft near a star