Megan Fox plays an undercover fed investigating, and beating up, a criminally sleazy motel owner played by Colson Baker (aka Machine Gun Kelly).

Somehow this was the love formula for the “Transformers” actress, 35, and the rapper, 31, who made a lasting connection on the set of “Midnight in the Switchgrass” in March 2020.

Hollywood’s current reigning red carpet PDA-forward couple is going strong more than one year later. But now fans can look at the movie that started it all, even if Fox says it was destiny that lit the fireworks rather than movie drama.

“It was just two people who were primed and supposed to be together,” Fox says. “We were meant to meet each other.”

Here’s what to know about the couple’s roles in director Randall Emmett’s “Midnight in the Switchgrass” (in theaters, digital and Blu-ray now), which critics have mowed down with a 16% positive review rating on Rotten Tomatoes.

Megan Fox: Reveals she quit alcohol after getting ‘belligerent’ on Golden Globes red carpet

Colson Baker got close to Megan Fox in Midnight in the Switchgrass.

Machine Gun Kelly threw shade at ‘Midnight in the Switchgrass’

As “Midnight” was released Friday, Baker explained his silence on the drama in which he appears in two lengthy scenes with Fox.

The actor/rapper wrote a tweet that never mentioned the critically savaged “Midnight,” but stated: “If i don’t talk or tweet about a movie i’m barely in it’s because it’s (trash emoji).”