TOKYO (AP) — A Japanese spacecraft began its approach Thursday toward a distant asteroid on a mission to collect material that could provide clues to the origin of the solar system and life on Earth.

Hayabusa2′s descent was delayed for about five hours for a safety check, but the unmanned craft is still due to touch down as scheduled on Friday morning, the Japan Aerospace Exploration Agency said.

During the touchdown, which will last just seconds, Hayabusa2 will extend a pipe and shoot a pinball-like bullet into the asteroid to blow up material from beneath the surface. If all goes successfully, the craft will then collect samples that would eventually be sent back to Earth. Friday’s attempt is the first of three such touchdowns planned.

ASSOCIATED PRESS This computer graphic image provided by the Japan Aerospace Exploration Agency shows the Japanese unmanned spacecraft Hayabusa2 approaching on the asteroid Ryugu.

The brief landing will be challenging, because of the uneven and boulder-covered surface. Hayabusa2 is aiming for a 20-foot-diameter circle to avoid obstacles. Space agency controllers will direct its approach until it is 1,600 feet above the asteroid’s surface, after which it will be on its own because it takes 20 minutes for commands from Earth to reach the craft.

JAXA, as the Japanese space agency is known, has compared landing in the circle to landing on a baseball mound from its height of 6 miles above the asteroid.

The asteroid, named Ryugu after an undersea palace in a Japanese folktale, is about 3,000 feet in diameter and 170 million miles from Earth.