It’s the role that turned her into a bona fide Hollywood star, but according to Margot Robbie, shooting some of her steamiest scenes for 2013’s The Wolf of Wall Street was anything but.

In an interview with Porter magazine, the 28-year-old Australian actress recalled how awkward it was filming some of her scenes opposite Leonardo DiCaprio, in which she played his character Jordan Belfort’s wife.

Margot Robbie as Naomi and Leonardo DiCaprio as Jordan Belfort in ‘The Wolf of Wall Street’. (Paramount Pictures)

There was one scene in particular that involved her character, Naomi, punishing Jordan by teasing him with the possibility of intimacy in their child’s nursery. She wore a short pink dress and very high heels, and, it was implied, not much else. “Mommy is just so sick and tired of wearing panties,” her character says.

“It doesn’t come across when you’re watching the movie, but in reality we’re in a tiny bedroom with 30 crew crammed in,” Robbie explained, adding, “All men.”

“And for 17 hours I’m pretending to be touching myself. It’s just a very weird thing and you have to bury the embarrassment and absurdity, really deep, and fully commit.”

Well she certainly pulled it off, and it was her performance in the Martin Scorsese-directed film that helped her star rise in a notoriously cutthroat industry.

In the same interview, Robbie shared some insight into her relationship with British assistant director Tom Ackerley, who she married in December 2016.

“I’m pretending to be touching myself”: Margot Robbie Felt Humiliated During Her S*x Scene That Required Her To Remove Underwear Using Stilettos

“I always thought, ‘Urrgghhhh, being married sounds really boring.’ I thought I might bite the bullet in my late thirties and see how it goes,” the actress said. That all changed when she met Ackerley on the set of Suite Française.

Now, “Being married is actually the most fun ever, life got way more fun somehow. I have a responsibility being someone’s wife, I want to be better.”

Just don’t ask the couple if they’ll be having children any time soon, because it’s a firm no.

“No! Definitely not,” she said with a laugh, sharing a story of how they had just adopted a second dog and were struggling to get any sleep.

“We already have a two-year-old [dog] who still acts like a puppy. I love him but he’s a handful, and for the last three days I haven’t slept. I’m like, ‘We’re fostering her for the week,’ and my husband’s saying, ‘No! We’re keeping her.’ And I’m saying, ‘We absolutely cannot and if anything, you are now cementing in my mind that we cannot have kids. I can’t cope with two puppies, let alone children!'”

However, kids will definitely be in their future — and as one of four, she hopes there will be lots of them. “If I’m looking into my future 30 years from now, I want to see a big Christmas dinner with tons of kids there.”