// Use this for initialization
    void Start()
    {
        m_akaiController = GetComponentInParent <AkaiController>();
        {
            if (m_akaiController == null)
            {
                Debug.Log("m_akaiController not found!");
            }
        }

        m_cameraBoom = transform.GetChild(0);
        if (m_cameraBoom == null)
        {
            Debug.Log("m_cameraBoom not found!");
        }
        else
        {
            m_camera = m_cameraBoom.GetComponentInChildren <Camera>();
            if (m_camera == null)
            {
                Debug.Log("m_camera not found!");
            }
        }

        m_groundOffset = m_cameraBoom.transform.position - m_akaiController.transform.position;

        m_cameraBoom.transform.parent = null; //free boom from local transforms
    }
 // Use this for initialization
 void Start()
 {
     m_akaiController = GetComponent <AkaiController>();
     if (m_akaiController == null)
     {
         Debug.Log("m_akaiController not found!");
     }
 }
    // Use this for initialization
    void Start()
    {
        m_akaiController = GetComponent <AkaiController>();
        if (m_akaiController == null)
        {
            Debug.Log("m_akaiController not found!");
        }

        m_animator = GetComponent <Animator>();
        if (m_animator == null)
        {
            Debug.Log("m_animator not found!");
        }
        else
        {
            m_leftFootTransform  = m_animator.GetBoneTransform(HumanBodyBones.LeftFoot);
            m_rightFootTransform = m_animator.GetBoneTransform(HumanBodyBones.RightFoot);

            if (m_leftFootTransform == null)
            {
                Debug.Log("m_leftFootTransform not found!");
            }
            else
            {
                m_leftFootHeightOffset = m_leftFootTransform.position.y - transform.position.y;
            }

            if (m_rightFootTransform == null)
            {
                Debug.Log("m_rightFootTranform not found!");
            }
            else
            {
                m_rightFootHeightOffset = m_rightFootTransform.position.y - transform.position.y;
            }
        }
    }