[add] ENUM_APPEND

This commit is contained in:
kimnuri
2025-11-30 11:59:46 +09:00
parent 1ba9794c6a
commit 13fb8cfa36
9 changed files with 118 additions and 11 deletions
+2 -2
View File
@@ -254,7 +254,7 @@ HRESULT CPlayer::Ready_Components()
{ // CCT
CCharacter_Controller::Character_Controller_DESC Desc{};
Desc.iSubKind = ENUM_CLASS(COLLIDABLEOBJECT::PLAYER);
Desc.iSubKind = ENUM_CLASS(PXOBJECT::PLAYER);
Desc.pTransform = m_pTransformCom;
Desc.eBodyType = ACTOR::CAPSULE;
Desc.fContactOffset = 0.17f;
@@ -274,7 +274,7 @@ HRESULT CPlayer::Ready_Components()
{ // DO
CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
Desc.iSubKind = ENUM_CLASS(COLLIDABLEOBJECT::PLAYER);
Desc.iSubKind = ENUM_CLASS(PXOBJECT::PLAYER);
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_BOX"), (CComponent**)&m_pRigidBody, &Desc))) {
return E_FAIL;
}