Evan Agostini / Invision/AP 1 / 2
Evan Agostini / Invision/AP 1 / 2

"Transformers: Dark Of The Moon" star Rosie Huntington-Whiteley has poked fun at co-star Shia Labeouf's on-set Megan Fox romance by joking about how irresistible the actor is.

LaBeouf confessed to hooking up with Fox on the set of the second "Transformers" film in a recent Details magazine interview and the actress' rep has since confirmed there were sparks between the two stars.

Asked if she had romanced her co-star on the set of the new sequel, model-turned-actress Huntington-Whiteley jokes, "It was tough. I really had to tie myself into my trailer. I really had to restrain myself.

"Seven months of shooting, it was really tough for me. I had to wear a chastity belt and everything."

Huntington-Whiteley's real-life boyfriend is British action man Jason Statham.