An inflatable boat carrying U.S. Navy personnel approaches the Orion boilerplate test device on Aug. 2 off the coast of California.

Before NASA/s new Orion spacecraft takes off, its splashdown must be perfected. The U.S. Navy just completed the second of two recovery test missions designed to find the best method for hauling space capsule out of its watery landing site in the Pacific Ocean.

On Aug. 3, the team tries out an onboard crane designed to life the 20,500-pound (9,300-kilogram) spacecraft from the water. (Image credit: NASA/Kim Shiflett)

The Orion spacecraft's first test flight is currently set for December, when NASA will launch the spacecraft on an unmanned mission. NASA engineers and U.S. Navy personnel have completed two Underway Recovery Test missions to try out several techniques for pulling the spacecraft from its watery landing site.

"We learned a lot about our hardware, gathered good data, and the test objectives were achieved," Mike Generale, NASA recovery operations manager in the Ground Systems Development and Operations Program, said in a statement. "We were able to put Orion out to sea and safely bring it back multiple times." [NASA's Orion Space Capsule Explained (Infographic)]

During the upcoming Orion test flight, NASA will send the spacecraft on a 3,600-mile (5,794 kilometers) unmanned test flight. After barreling back into the Earth's atmosphere at 20,000 mph (32,187 km/h) through blazing temperatures near 4,000 degrees Fahrenheit (2,204 degrees Celsius), the spaceship will splash down in the Pacific Ocean off the coast of California. A U.S. Navy ship will be waiting to meet the spacecraft and pull it out of the water, hence the recent rehearsal by NASA and the military.

Caption: The Orion boilerplate test vehicle is loaded onto the USS Anchorage at the U.S. Naval Base in San Diego, California on July 29. A team of NASA engineers and U.S. Navy personnel will test out different techniques to haul the test spacecraft from the Pacific Ocean. (Image credit: NASA/Kim Shiflett)

The first Orion recovery test this year occured in February when engineers tried out a well deck recovery technique that winched the spacecraft up from the seabed. In the August recovery test, the team tried out an onboard crane designed to lift the spacecraft out of the water.

Orion is designed to send astronauts to deep-space destinations that have yet to be explored by humans, like an asteroid and eventually Mars. The spacecraft is designed to be able to sustain crew members during long-term space travel and will have an emergency abort function. Orion will launch from Cape Canaveral in December for the first test flight called Exploration Flight Test-1. The test flight will ensure the re-entry system and heat shields of the spacecraft are working properly.

Follow Kelly Dickerson on Twitter. Follow us @Spacedotcom, Facebook or Google+. Originally published on Space.com.