[Add] 플레이어 포션 + 루모스 상태 추가

[Fix] 이벤트 수정
This commit is contained in:
hyunbin14
2025-11-30 17:50:22 +09:00
parent 8818d40e7c
commit 42bfb07043
9 changed files with 54 additions and 32 deletions
+4 -7
View File
@@ -120,14 +120,11 @@ void CChannel::Update_TransformationMatirx(
vector<_uint> BoneMask,
_vector vector[3])
{
LOCALPOS_DESC& LocalPos = pLocalPosArray[0][m_iBoneIndex];
_bool isUpper = false;
_int layerIndex = 0;
if (!bIsSpine)
{
isUpper = BoneMask[m_iBoneIndex];
layerIndex = isUpper ? 1 : 0;
LocalPos = pLocalPosArray[layerIndex][m_iBoneIndex];
m_IsUpper = BoneMask[m_iBoneIndex];
m_ilayerIndex = m_IsUpper ? 1 : 0;
LocalPos = pLocalPosArray[m_ilayerIndex][m_iBoneIndex];
}
else
{
@@ -158,7 +155,7 @@ void CChannel::Update_TransformationMatirx(
}
else
{
if (layerIndex == 1)
if (m_ilayerIndex == 1)
{
m_BoneTransformationMatrix =
XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);