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

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

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."

"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.”