Its purpose is to take any rectilinear chamber and rotate it 90 degrees along one of three axes. If this means that people and objects in the room are no longer on the floor, well, then they find the new floor in a hurry. Occasionally, the wand will also roll the room 180 degrees on the vertical axis, effectively switching floor and ceiling. Doors are useless unless aligned with a corresponding passage in the original wall. Floor stays level.
Room rotates on the vertical axis.
Floor is now a wall. Room rotates on the diagonal. Everything falls to a corner. Floor is now ceiling. All items not bolted down are about to take a trip.