You may have experienced Both a dream and an OBE in the same night. That situation happens many times. The experience begins as a dream and then becomes a projection. When you floated inside your room then your experience was probably an OBE. It is difficult to judge because you seem to be somewhat confused as to what happened to you.