In her latest film, Mike and Dave Need Wedding Dates, she plays Zac Efron's incorrigibly raunchy wedding date.

And it appears Anna Kendrick went completely method for the role, as she revealed to Jenny McCarthy's Dirty, Sexy, Funny SiriusXM show on Tuesday that her character's less-than classy tendencies bled into her real life antics.

The comedy, which follows party-loving brothers Mike (Adam Devine) and Dave (Zac Efron) who place an online ad to find the perfect dates (Kendrick, Aubrey Plaza) for their sister’s Hawaiian wedding, is actually based on a true story. And when the real life siblings came to set, mayhem ensued.

Scroll down for video

Picture perfect: Anna Kendrick went completely method for her role in Mike and Dave Need Wedding Dates, as she revealed to Jenny McCarthy's Dirty, Sexy, Funny radio show on Tuesday that her character's less-than classy tendencies bled into her real life antics

'Those two brothers came to set and across a crowded lobby I was like, ''Get your d**** out!"' the 30-year-old actress dished.

'They are very tall, very attractive and we were so deep into filming the movie that my character had kind of taken over.

'It's very raunchy fun comedy and I was like, "I don't know what just happened to me." I'm not really the person who yells profanity across a hotel lobby.'

Fast friends: Jenny McCarthy and the actress strike a pose before recording Tuesday's radio broadcast

Radio radiant: In her latest film, Mike and Dave Need Wedding Dates, the 30-year-old plays Zac Efron's incorrigibly raunchy wedding date

Ever the comedienne, Anna quickly recovered from the inadvertent outburst and has since been able to laugh off the mega embarrassing moment.

The Pitch Perfect starlet also couldn't help but gush over her admiration for co-star Zac Efron, who she likened to a 'very muscular teddy bear.'

'He's just so sweet I could actually scream. I just like want to put him in a baby stroller,' Anna added.

Just a touch of sexy: For the promotional outing, the brunette beauty cut a figure far less scandalous than her Mike and Dave Need Wedding Dates character

Preparation time: Kendrick looked perfectly preppy in a vintage-inspired frock with a bold white belt cinched around her svelte waistline

For the promotional outing, the brunette beauty cut a figure far less scandalous than her Mike and Dave Need Wedding Dates character.

Kendrick looked perfectly preppy in a vintage-inspired frock with a bold white belt cinched around her svelte waistline.

She teamed the elegant ensemble with bright white pumps and wore her long tresses in loose waves parted down the middle and around her shoulders.

Details: She teamed the elegant ensemble with bright white pumps and wore her long tresses in loose waves parted down the middle and around her shoulders