[add] 다음레벨 활성화

This commit is contained in:
kimnuri
2025-12-23 01:18:25 +09:00
parent ba5aa8cfb4
commit d1fa9bc444
29 changed files with 208 additions and 147 deletions
+8 -4
View File
@@ -95,10 +95,14 @@ HRESULT CPlayer::Initialize(void* pArg)
m_pInfoInstance->Regist_PlayerAlly(this);
m_pInfoInstance->Set_Damage(m_pStat->Get_Stat().fDamage);
m_pCharacter_Controller->Set_Position(XMVectorSet(-21.f, 0.f, -14.f, 1.f));
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-21.f, 0.f, -14.f, 1.f));
{
PLAYERDESC* pDesc = static_cast<PLAYERDESC*>(pArg);
_vector vPos = XMLoadFloat4(&pDesc->vPos);
_vector vRotQ = XMLoadFloat4(&pDesc->vRotQ);
m_pCharacter_Controller->Set_Position(vPos);
m_pTransformCom->Set_State(STATE::POSITION, vPos);
m_pTransformCom->Rotation(vRotQ);
}
#ifdef _DEBUG
m_BasicEffect = make_unique<BasicEffect>(m_pDevice);