void Update()
    {
        KinectController kinect = Kinect.GetComponent<KinectController>();
        handWaveController = HandWave.GetComponent<HandWaveDetector>();
        jumpController = Jump.GetComponent<JumpDetector>();

        if (kinect.PlayerSkeleton == null)
        {
            rigidbody.velocity = Vector3.zero;
            return;
        }

        UpdateHandWave(kinect);
        UpdateJump(kinect);
    }
    void Update()
    {
        KinectController kinect = Kinect.GetComponent <KinectController>();

        handWaveController = HandWave.GetComponent <HandWaveDetector>();
        jumpController     = Jump.GetComponent <JumpDetector>();

        if (kinect.PlayerSkeleton == null)
        {
            rigidbody.velocity = Vector3.zero;
            return;
        }

        UpdateHandWave(kinect);
        UpdateJump(kinect);
    }