6 degree-of-freedom device