'Gone Girl' Star Rosamund Pike Dishes on Shooting Sex Scene With Neil Patrick Harris

"We'd go to this very dark place," she said.

ByABC News
September 9, 2014, 12:27 PM
Neil Patrick Harris leaves a "Late Show With David Letterman" taping at the Ed Sullivan Theater in New York, April 24, 2014.
Neil Patrick Harris leaves a "Late Show With David Letterman" taping at the Ed Sullivan Theater in New York, April 24, 2014.
Ray Tamarra/Getty Images

— -- It's a busy time for former "How I Met Your Mother" star Neil Patrick Harris.

News broke Monday that he married his partner, David Burtka, over the weekend in Italy.

Now, the actor, Broadway star and all-around "awesome" guy has a highly anticipated movie, "Gone Girl," coming out next month.

SEE: Creepy Neil Patrick Harris in New 'Gone Girl' Trailer

RELATED: 'How I Met Your Mother' Star Neil Patrick Harris Secretly Marries David Burtka

His co-star, Rosamund Pike, spoke to Glamour magazine about shooting awkward sex scenes with the actor.

"We'd go to this very dark place. … I tried to get us out of that," Pike told the magazine. "Neil [Patrick Harris, who plays Amy's obsessed ex, Desi] was incredible at that. We were in hysterics in the editing room."

She continued, "It was very funny doing [rehearsals for our sex] scene. [Director David Fincher] left Neil and me alone on that set for like two hours to make sure we could do it. But when it's just two of you, basically kind of [having sex] on a bed, it feels so inappropriate."

Pike expanded on her character in the movie, Amy, who goes missing, leaving people to suspect her husband, played by Ben Affleck, killed his wife.

"There were definitely moments when I felt very uneasy with how much power Amy had,” she said. “And the interesting thing is, my reaction was to laugh. To get sort of uncontrollable giggles. That was the most curious part of playing her: At the point where she's at her most powerful, it unnerved something in me.”