Billie Piper has opened up about working on her feature film "Rare Beasts" while seven months pregnant, calling the experience "inspiring."

The 38-year-old actress, who wrote, directed and starred in the said film, said working on the project in the early stages of her pregnancy was easier, but she was grateful to have the skills that matched the demands of the job when she was heavily pregnant with her child. She was also thankful for everyone who helped her throughout the project.

"I find it really really inspiring to work in that way in that point of my pregnancy," she revealed in a recent interview with James Corden on "The Late Late Show." "At the beginning of the pregnancy, you forget it. The end is a write-off. But that sort of middle bit- I feel like you have some sort of 'Matrix' clarity in your mind, so it worked out really well for me."

"Also, everyone was so much nicer to me because I was pregnant, so no one could be a bas---d, you know?" Piper continued.

Filming of "Rare Beasts" wrapped up in October 2018. The movie had its world premiere at the Venice Film Festival on Aug. 31, 2019. However, it didn't hit U.S. theaters until last month.

In January 2019, Piper gave birth to Tallulah, her first child with her boyfriend, former Tribes frontman Johnny Lloyd. The couple has been together since 2017.

Piper is also mom to 6-year-old Eugene and 10-year-old Winston, whom she shares with her ex-husband Laurence Fox.

"Rare Beasts" tells the story of a single mother who navigates modern romance and modern feminism. According to Piper, it also explores mental health in the modern world.

"I found the cultural sphere was 'Woman you can go out, you can balance everything, you can have high-powered jobs, you can have meaningful relationships with your peers,'" Piper told Corden. "All this stuff that sort of said 'you can have it all,' and yet all I saw around me was this common crisis. And I didn't feel like anyone was talking honestly or authentically about it. So that's what I've tried to achieve in the film."

During the interview, the "Doctor Who" actress also talked about her early days as a singer, particularly the time when she attended the prestigious Sylvia Young Theatre School in England with classmate Amy Winehouse.

Talking about Winehouse, Piper said, "She was amazing. As you can imagine, she was kooky and strange and she had this belting voice and I had to like follow her singing parts like doing the scales which was just horrific, horrific following her."

Billie Piper
Billie Piper, singer, actress Getty Images