>Actually talking to the opposite sex even in a casual way is a really good way to get over this type of thinking.
Talking to the sex you're attracted to will result, at best, in what people of that sex think they want, not what they actually want and do to get it, at worst, in some unempathetic platitude or even outright insults.