[Add] Accio 피격 추가

This commit is contained in:
hyunbin14
2025-12-15 20:20:16 +09:00
parent 18b35d28d6
commit 9b4c8d5edc
11 changed files with 184 additions and 67 deletions
+9 -9
View File
@@ -65,7 +65,7 @@ void CProtego::Update(_float fTimeDelta)
return;
m_pSphere->Get_Component<CTransform>()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
m_pTransformCom->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
__super::Update(fTimeDelta);
Update_Event(fTimeDelta);
@@ -118,14 +118,14 @@ HRESULT CProtego::Ready_Components(void* pArg)
}
{ // DO
CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
Desc.iSubKind = ENUM_CLASS(PXOBJECT::SKILL_PROTEGO);
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), (CComponent**)&m_pRigidBody, &Desc))) {
return E_FAIL;
}
m_pGameInstance->Attach_Actor(*m_pRigidBody->Get_Actor());
}
//{ // DO
// CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
// Desc.iSubKind = ENUM_CLASS(PXOBJECT::SKILL_PROTEGO);
// if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), (CComponent**)&m_pRigidBody, &Desc))) {
// return E_FAIL;
// }
// m_pGameInstance->Attach_Actor(*m_pRigidBody->Get_Actor());
//}
return S_OK;
}