Los Angeles - Jennifer Lawrence is filming love scenes with her ex-boyfriend Nicholas Hoult for X-Men: Apocalypse.
The pair - who split earlier this year - play mutant lovers in the next installment of the Marvel comic book picture and have been forced to put their differences aside for the sake of the steamy script.
Jennifer, 24 - who plays the blue cat-suited Mystique in the action-adventure film and is currently dating Coldplay frontman Chris Martin - will get close to Nicholas (Beast) as the plot of the upcoming movie's script centres around the relationship between the characters.
A source told The Sun newspaper: "It's a huge ensemble franchise but the point of the latest film was to strip that back and focus on Jen and Nick's characters' relationship."
The former couple - who met of the set of X-Men: First Class in 2011 - ended their relationship in August, citing their busy schedules for the reason behind the split.
Despite their change in circumstance, it was too late for movie bosses to rewrite the script, and the pair are said to be determined to make it work.
A source said: "Earlier this year that seemed like a great idea, but now they've split and it's too late to rewrite the script. They are very professional of course, and will make it work."
Meanwhile, Nick, 24, is thought to be dating Twilight star Kristen Stewart and was recently spotted cosying up to the actress at a Cinema Society bash in New York, after meeting on the set of their new movie Equals.