B.W.
I just went throught the same thing with my girls. It started with my 2.5 yr old who would not stay in bed. I would even find her all the way under the bed or anywhere in her room was a possibility.
The older one joined her & she would also still wet at times, so we had the carpet issue too.
What I did is just not make a big deal of it & gave her the choice at night of camping on the floor or bed & they camped for months. I required the oldest to sleep on a mat or one of those foam fold out kids couches which I could take apart & wash. I would find one or both of them in bed occassionally & after 2-3 months they just started sleeping in bed again. I still find the now 3 yr old on the floor once in a great while, but she seems to sleep as well on the floor as in bed, so I would just try to train her to sleep on a mat or something absorbent if she is on the floor. It seems like they really try to control their little world at that age & when I gave her the choice, she eventually chose the bed.
Now I'm on to her undressing & sleeping only in panties, then freezing at night. I tell her to leave jammies on & she says, when you leave, I'll take them off. They keep life interesting.