We came to the cockpit, which was on fire.
We got to the cockpit to see that it was on fire.