开源 Apex 骨骼索引
//头 脖子 盆骨 左肩 右肩 左手肘 右手肘 左手腕 右手腕 左大腿 右大腿 左膝盖 右膝盖 左脚腕 右脚腕
static int BoneIndexs_1 = { 0,1,3,22,23,7,10,8,11,20,21,13,17,14,18,};
static int BoneIndexs_2 = { 0,1,3,22,23,7,9,19,10,20,21,12,16,13,17, };
static int BoneIndexs_3 = { 0,1,3,22,23,10,7,11,8,20,21,13,17,14,18, };
static int BoneIndexs_4 = { 0,1,3,20,21,7,10,8,11,22,23,13,17,14,18, };
static int BoneIndexs_5 = { 0,1,3,6,9,7,10,8,11,29,18,15,21,16,22, };
static int BoneIndexs_6 = { 0,1,3,6,9,7,10,8,11,12,16,13,17,14,18, };
auto BoneIndexs = BoneIndexs_1;//默认(其他)
if (ModleName == "寻血猎犬")BoneIndexs = BoneIndexs_2;
if (ModleName == "恶灵"|| ModleName == "命脉")BoneIndexs = BoneIndexs_3;
if (ModleName == "沃特森")BoneIndexs = BoneIndexs_4;
if (ModleName == "探路者")BoneIndexs = BoneIndexs_5;
if (ModleName == "亡灵")BoneIndexs = BoneIndexs_6;
//可以换成Switch 我懒
我看看能不能用吧 买了好用!谢谢大佬!{:撸啊撸:}{:撸啊撸:}
页:
[1]