This commit is contained in:
aozhiwei 2022-10-10 16:16:01 +08:00
parent f5dd02c341
commit 337d2e4395
2 changed files with 14 additions and 1 deletions

View File

@ -227,8 +227,9 @@ static void CalcGunMuzzlePosition(Creature* c,
0
);
}
#if 0
if (weapon_meta->movex_position) {
gun_muzzle_position +=
gun_muzzle_position -=
glm::vec4(
std::get<0>(*weapon_meta->movex_position.get()),
std::get<1>(*weapon_meta->movex_position.get()),
@ -236,6 +237,7 @@ static void CalcGunMuzzlePosition(Creature* c,
0
);
}
#endif
}
void InternalShot(Creature* c,

View File

@ -718,6 +718,17 @@ private:
movez
);
}
a8::UdpLog::Instance()->Info
("weapon animation equip_id:%d x:%f y:%f z:%f movex:%f lmovey:%f movez:%f",
{
equip_id,
x,
y,
z,
movex,
movey,
movez
});
}
}
}