Sounds like an astral experience. There is an article on this site about astral sex in the articles section, that would make good reading, along with Astral Dynamics, or Robert Monroes books, if you have not read much on the subject. Was your friend sleeping at the time of your experience?
Looks like you may have a natural ability!
Looks like you may have a natural ability!