[Fix] 란록 머리돌리기 수정

This commit is contained in:
hyunbin14
2025-12-28 17:16:25 +09:00
parent 34c4a342a3
commit 358bb68fe4
22 changed files with 427 additions and 70 deletions
+1 -22
View File
@@ -164,11 +164,7 @@ void CChannel::Update_TransformationMatirx(
vTranslation = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&vSourTranslation), XMLoadFloat3(&vDestTranslation), fRatio), 1.f);
}
/*if (!bIsSpine)
{
m_IsUpper = BoneMask[m_iBoneIndex];
m_ilayerIndex = m_IsUpper ? 1 : 0;
}*/
if (m_iBoneIndex == RootBoneIndex)
{
if (vector)
@@ -185,23 +181,6 @@ void CChannel::Update_TransformationMatirx(
XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);
Bones[m_iBoneIndex]->Set_TransformationMatrix(m_BoneTransformationMatrix);
//if (bIsSpine)
//{
// m_BoneTransformationMatrix =
// XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);
// Bones[m_iBoneIndex]->Set_TransformationMatrix(m_BoneTransformationMatrix);
//}
//else
//{
// if (m_ilayerIndex == 1)
// {
// m_BoneTransformationMatrix =
// XMMatrixAffineTransformation(vScale, XMVectorSet(0.f, 0.f, 0.f, 1.f), vRotation, vTranslation);
// Bones[m_iBoneIndex]->Set_TransformationMatrix(m_BoneTransformationMatrix);
// }
//}
}
}