Giving details about the scene, the "Band Baaja Baaraat" actor said: "Sonakshi is so cool that I never felt awkward. We all are professional actors and this is our work.
"Vikramaditya made a closed set for our comfort where there was only cameraman, Vikram, me and Sonakshi. He gave us our own space and was very supportive."
The actor said the director made it clear that if an actor is doing an emotional scene "then respect him or her so that they can perform".
"It's a private emotion, it is difficult and the credit goes to the director who was very supportive. I am thankful to him," added Ranveer.
Meanwhile, the actor, who was in the news for his linkup with his co-stars, now takes such things in his stride.
He said: "Earlier, when I used to read such stories it used to bother me and I used to think how can they write such things about me, this is my private life. Then I realised such things will happen in the industry, so now I don't even read these stories."
"If you are an actor, such speculations keep coming," added the actor who has "many releases" in future and would "want to be in the news for my work and not about my private life".
"Lootera", co-produced by Anurag Kashyap, Shobha Kapoor and Ekta Kapoor, will open July 5.
Photos: Shah Rukh Khan, Shweta Bachchan at Karan Johar's book launch
Photos: Sunny Deol with sons Karan and Rajvir at Mumbai airport
Photos: 10 beautiful moments that capture winter around the world
Photos: Karisma Kapoor, Preity Zinta, Shraddha Kapoor at Mumbai airport
Spotted: Anushka Sharma and Diljit Dosanjh at Mumbai studio