sync position and orientation.