[Add] 고블린 메이지 상태 추가

[Fix] 플레이어,고블린,트롤 상태 수정
This commit is contained in:
hyunbin14
2025-12-08 13:54:13 +09:00
parent 87ff292307
commit efd4acf345
46 changed files with 1633 additions and 259 deletions
+11 -12
View File
@@ -44,17 +44,6 @@ HRESULT CWand::Initialize(void* pArg)
void CWand::Priority_Update(_float fTimeDelta)
{
_matrix socketMatrix = {};
socketMatrix = XMLoadFloat4x4(m_pSocketMatrices);
for (int i = 0; i < 3; ++i) {
socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]);
}
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
XMStoreFloat4x4(&m_pWandTipMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Effect")) * m_pTransformCom->Get_XMWorldMatrix());
#ifdef _DEBUG
Describe_Entity();
@@ -69,7 +58,17 @@ void CWand::Update(_float fTimeDelta)
void CWand::Late_Update(_float fTimeDelta)
{
m_pGameInstance->Add_RenderGroup(RENDER::BLEND, this);
_matrix socketMatrix = {};
socketMatrix = XMLoadFloat4x4(m_pSocketMatrices);
for (int i = 0; i < 3; ++i) {
socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]);
}
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
XMStoreFloat4x4(&m_pWandTipMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Effect")) * m_pTransformCom->Get_XMWorldMatrix());
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
}
HRESULT CWand::Render()