private void updateJointOrientations () {
		jointOrientationConfidence[HEAD] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_HEAD,jointOrientation[HEAD]);
		jointOrientationConfidence[NECK] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_NECK,jointOrientation[NECK]);
		jointOrientationConfidence[LEFT_SHOULDER] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_LEFT_SHOULDER,jointOrientation[LEFT_SHOULDER]);
		jointOrientationConfidence[RIGHT_SHOULDER] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_RIGHT_SHOULDER,jointOrientation[RIGHT_SHOULDER]);
		jointOrientationConfidence[TORSO] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_TORSO,jointOrientation[TORSO]);
		jointOrientationConfidence[LEFT_ELBOW] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_LEFT_ELBOW,jointOrientation[LEFT_ELBOW]);
		jointOrientationConfidence[LEFT_HAND] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_LEFT_HAND,jointOrientation[LEFT_HAND]);
		jointOrientationConfidence[RIGHT_ELBOW] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_RIGHT_ELBOW,jointOrientation[RIGHT_ELBOW]);
		jointOrientationConfidence[RIGHT_HAND] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_RIGHT_HAND,jointOrientation[RIGHT_HAND]);
		if (fullBodyTracking) {
			jointOrientationConfidence[LEFT_HIP] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_LEFT_HIP,jointOrientation[LEFT_HIP]);
			jointOrientationConfidence[LEFT_KNEE] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_LEFT_KNEE,jointOrientation[LEFT_KNEE]);
			jointOrientationConfidence[LEFT_FOOT] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_LEFT_FOOT,jointOrientation[LEFT_FOOT]);
			jointOrientationConfidence[RIGHT_HIP] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_RIGHT_HIP,jointOrientation[RIGHT_HIP]);
			jointOrientationConfidence[RIGHT_KNEE] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_RIGHT_KNEE,jointOrientation[RIGHT_KNEE]);
			jointOrientationConfidence[RIGHT_FOOT] = kinect.getJointOrientationSkeleton(userId,SimpleOpenNI.SKEL_RIGHT_FOOT,jointOrientation[RIGHT_FOOT]);
		}
		
		// store original joint information before mirroring takes place on data storage.
		for (int i=0; i<15; i++) {
			jointOrientationUnmirrored[i] = jointOrientation[i];
			jointOrientationConfidenceUnmirrored[i] = jointOrientationConfidence[i];
		}
	}