In what way does a real life box land?
I don't understand the illustration..
Do you mean you want to check the angle of the box on collision and if the angle is not 0 or 90 or 180 or 270, but somwhere in between choose the closest of those 4 angles an rotate toward it having the center of rotation on the point it landed?