[add] 다음레벨 활성화
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user