void Update ()
{
    
		

    if (flyingController.IsFlying())
    {
        FlyingAnimations();
    }
    
    else  if (characterController.IsFalling())
    {
        animationGameObject.animation.CrossFade("fall");
    }
     
    //must be grounded
    else  
        {
            GroundedAnimations();        
       
        }
		

    
}
    // Update is called once per frame
    void Update()
    {
        _isFlying = thirdPersonFlyingController.IsFlying();



        if (_isFlying)
        {
            mouseOrbit.enabled     = false;
            mouseAimFlying.enabled = true;
            //playerLookTarget.enabled = false;
            headLookController.enabled = false;
        }
        else
        {
            mouseOrbit.enabled     = true;
            mouseAimFlying.enabled = false;
            //playerLookTarget.enabled = true;
            headLookController.enabled = true;
        }

        _moveDirection = thirdPersonFlyingController.MoveDirection();
    }