Two years ago Pattinson was casting around for roles.

Life hasn’t always been as rosy for the “Twilight” sensation as it is right now. Just two years ago Robert Pattinson auditioned for a role in a seedy comedy called “Dogging: a Love Story,” according to British paper the Daily Star.

And he didn’t even get the part.

The movie is about a journalist who uncovers a community of fun-lovers in the North of England that like to have sex in cars, in full view of each other.

The journalist character decides to investigate further and pursues the group in chat rooms and in reality – for professional purposes, understand – only to become more personally involved when he forms a relationship with a girl going by the name "Horny Geordie Lass.”

The film’s tagline is the unsubtle question, “Fancy a ride?”

“It’s all a bit surreal, to be honest," a source from the “Dogging” film set told the Daily Star. "RPattz is a massive Hollywood star both Stateside and over here."

“But two years ago he was still trying to make a name for himself back in the UK.

“He had a decent role in 'Harry Potter and the Goblet of Fire,' but apart from that he was still casting around for roles.

“It was not until he landed the role as Edward Cullen in 'Twilight' that his career truly took off,” the source pointed out.

The starring role in “Dogging” went to another young British actor, Luke Treadaway. Treadaway will also feature in the upcoming blockbuster, “Clash of the Titans” out next year, alongside Irish actor Liam Neeson.

As for “Dogging,” it looks like Pattinson struck gold in not getting the lead. The movie has garnered a series of rock-bottom reviews in British newspapers.