Subject motion and associated artefacts limit the applicability of MRI and the achievable quality of the images acquired. In this paper, a fully integrated method for prospective correction of arbitrary rigid body motion employing an external motion tracking device is demonstrated for the first time. The position of the imaging volume is updated prior to every excitation of the spin system. The performance of the available tracking hardware and its connection to the MR imager is analyzed in detail. With the introduction of a novel calibration procedure the accuracy of motion correction is improved compared to previous approaches. Together with the high geometry update rate even freely moving objects can be imaged without motion related artefacts. The high performance and image quality improvement in case of subject motion are demonstrated for various imaging techniques such as gradient and spin echo, as well as echo planar imaging.