The movie may not have had the exact story as I remember… the main premise was a writer moved into this family’s pool house. The family had a daughter that developed an inappropriate relationship with the writer. She was laying by the pool in a blue bikini, something happened and the writer found himself inside the house and in the closet looking at the daughter undress. He later had an erotica dream about her and was wondering why. Later, the daughter accused him of raping her, when technically she raped him. I never finished the movie but I remember he was in legal trouble because of the allegations.
I must have watched this between 2008 and 2011. It was made in the 90’s or early 00’s…I think. If you can remember, please enlighten me!