Robert Pattinson‘s newest film Good Time looks gritty enough based on the trailer released earlier this year. But now, gearing up for the film’s release, Pattinson shared some gruesome details about one of the scenes from the film on Jimmy Kimmel Live.

Pattinson’s character in Good Time has a deep love for dogs, even believing that he was once a dog in another life. As such, one of the film’s scenes required him to perform a sex act on a dog, an act which the actor had not exactly signed up for.

“Oh, god! I don’t even know if I can say this,” Pattinson told host Jimmy Kimmel. “There are a lot of things in this movie which really cross the line of legality. Like, it’s not even on the line. It’s way beyond the line.”

Kimmel, despite his curiosity, cut to a commercial break. Upon the return, Kimmel asked a few innocuous questions before saying, “Alright, tell us what happened with the dog now.” After a few laughs, the 31-year-old Twilight actor began his story.

“There’s a big dog. There was actually, sadly, another dog which was cast, who is this big dog’s son, but it died just before,” Pattinson began. “Mustafa, who is the father and this huge, huge dog, was initially in this scene… My character, Connie, has this affinity with dogs: he thinks he is a dog in a previous life and he things he has control over animals.”

“There’s this one scene we shot – there’s a drug dealer who busts into the room, and I was sleeping with the dog basically giving the dog a hand job.”

Kimmel then asked Pattinson, jokingly, if the actor himself was performing the sex act for his own pleasure, or if it was what the character was supposed to be doing.

“It was a character thing,” the actor assured the host.

He continued his story, “I asked the trainer because the director was like, ‘Just do it for real, man! Don’t be a p–y!’ And the dog’s owner was like, ‘Well, he’s a breeder. I mean, you can. You just gotta massage the inside of his thighs.’ I was just like, ‘Just massage the inside of his thighs?'”

“I didn’t agree to do the real one, so we made a fake red rocket.”

To which Kimmel quipped, “You made a fake dog penis? Wow, Hollywood is a great place. It really is.”

Good Time received heavy praise after competing for the Palme d’Or at this year’s Cannes Film Festival. According to Pattinson, after the showing, the cast and creators received a six-minute standing ovation.

Good Time hits theaters on August 11.

Watch Pattinson’s story on Kimmel below.