Degrees of Freedom
A degree of freedom is the number of directions in which something is free to move. You may be thinking of the three directions, but in this case you would be thinking wrong. The maximum number of degrees of freedom of a rigid body is six.