Try he collapsed untidily onto the floor, where he resembled a loose pile of clothes. The author wants the reader to imagine someone with his arms and legs folded loosely, partially under his body. His head and one shoulder might be touching the floor, with the other shoulder supported by one arm.