public void CreateFlyItem(int hp, int life, string str, Vector3 vec, int dir)
        {
            Action ctask = () =>
            {
                var p = new MyJson.JsonNode_Object();
                p["pushbox"] = new MyJson.JsonNode_ValueNumber(true);
                int cc  = battleField.Cmd_CreateChar(str, 1, p);
                var pos = ap.transform.position;
                battleField.Cmd_Char_Pos(cc, new Vector3(pos.x, pos.y + 1, pos.z));
                //注册控制器
                battleField.RegCharactorController(new CharController_Direct(cc, 1, null));

                var _cc = (battleField as BattleField).GetCharactorController(cc) as CharController_Direct;
                _cc.SetParam("hp", hp);
                _cc.SetCCLife(life);
                _cc.type = "flyitem";
/*                Debug.Log("给对方加力:");*/
                vec.x *= dir;
                _cc.fightFSM.AddForceSpeed(vec);
                _cc.SetForce(9.8f, 0f);
                //其他
                battleField.GetRealChar(cc).transform.GetComponent <FB.FFSM.com_FightFSM>().debugMode = false;

                AddChild(cc);
            };

            battleField.queueTask(ctask);
        }