[Modify] 병합 완료
This commit is contained in:
@@ -153,7 +153,7 @@ HRESULT CCharacter_Controller::ConvertToDO(CRigidBody_Dynamic& BodyOriginal)
|
||||
PSX::PxTransform pxTransform = pCCTActor->getGlobalPose();
|
||||
pDOActor->setGlobalPose(pxTransform);
|
||||
|
||||
return E_FAIL;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CCharacter_Controller::Move(_float fTimeDelta)
|
||||
|
||||
@@ -215,9 +215,8 @@ _bool CModel::Play_Dual_Anim(_float fTimeDelta, CTransform* pTransform)
|
||||
CAnimation* pSecondAnim = m_Animations[m_iCurrSecondAnimIndex];
|
||||
|
||||
m_bIsFinishedAnim = pCurAnim->Update_TransformationMatrices(m_Bones, m_pLocalPos, m_bIsLoop, fTimeDelta, true, m_iBoneMask, m_vector);
|
||||
|
||||
pCurAnim->InterpAnim(pPreAnim, m_Bones, m_fRatio);
|
||||
m_bIsSecondFinishedAnim = pSecondAnim->Update_TransformationMatrices(m_Bones, m_pLocalPos, m_bIsSecondLoop, fTimeDelta, false, m_iBoneMask);
|
||||
//pCurAnim->InterpAnim(pPreAnim, m_Bones, m_fRatio);
|
||||
if (m_fRatio >= 1.f)
|
||||
{
|
||||
m_iPreAnimIndex = m_iCurrentAnimIndex;
|
||||
@@ -227,7 +226,6 @@ _bool CModel::Play_Dual_Anim(_float fTimeDelta, CTransform* pTransform)
|
||||
else
|
||||
{
|
||||
m_bIsFinishedAnim = m_Animations[m_iCurrentAnimIndex]->Update_TransformationMatrices(m_Bones, m_pLocalPos, m_bIsLoop, fTimeDelta, true, m_iBoneMask, m_vector);
|
||||
|
||||
m_bIsSecondFinishedAnim = m_Animations[m_iCurrSecondAnimIndex]->Update_TransformationMatrices(m_Bones, m_pLocalPos, m_bIsSecondLoop, fTimeDelta, false, m_iBoneMask);
|
||||
m_iPreAnimIndex = m_iCurrentAnimIndex;
|
||||
}
|
||||
|
||||
@@ -112,20 +112,7 @@ PSX::PxRigidStatic* CPhysX_Manager::Add_StaticActor(CRigidBody_Static& RigidBody
|
||||
case ACTOR::HEIGHTFIELD:
|
||||
{ // SetUp HeightField
|
||||
PSX::PxHeightField* pHeightField = Find_HeightField(RigidBody.Get_PxMeshKey());
|
||||
PSX::PxHeightFieldGeometry* pPxHeightGeometry = { nullptr };
|
||||
|
||||
_vector vPos, vRotq, vScale;
|
||||
XMMatrixDecompose(&vScale, &vRotq, &vPos, WorldMatrix);
|
||||
vRotq = XMQuaternionNormalize(vRotq);
|
||||
|
||||
PSX::PxTransform out;
|
||||
XMStoreFloat3((_float3*)&out.p, vPos);
|
||||
XMStoreFloat4((_float4*)&out.q, vRotq);
|
||||
PSX::PxMeshScale meshScale(
|
||||
PSX::PxVec3(fabsf(vScale.m128_f32[0]), fabsf(vScale.m128_f32[1]), fabsf(vScale.m128_f32[2])),
|
||||
PSX::PxQuat(PSX::PxIdentity) // 스케일 축은 로컬 기준
|
||||
);
|
||||
pPxHeightGeometry = new PSX::PxHeightFieldGeometry(pHeightField);
|
||||
PSX::PxHeightFieldGeometry* pPxHeightGeometry = new PSX::PxHeightFieldGeometry(pHeightField);
|
||||
|
||||
// 유효성 체크
|
||||
PX_ASSERT(pPxHeightGeometry->isValid());
|
||||
|
||||
@@ -102,9 +102,9 @@ HRESULT CTransform::Initialize_Prototype()
|
||||
|
||||
HRESULT CTransform::Initialize(void* pArg)
|
||||
{
|
||||
|
||||
if (nullptr == pArg)
|
||||
if (nullptr == pArg){
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
TRANSFORM_DESC* pDesc = static_cast<TRANSFORM_DESC*>(pArg);
|
||||
|
||||
|
||||
@@ -376,8 +376,9 @@ HRESULT CVIBuffer_Terrain::Initialize_Prototype(const _char* pFilePath, _uint iS
|
||||
Safe_Delete_Array(pPixels);
|
||||
|
||||
m_pQuadTree = CQuadTree::Create(m_iNumVerticesX * m_iNumVerticesZ - m_iNumVerticesX, m_iNumVerticesX * m_iNumVerticesZ - 1, m_iNumVerticesX - 1, 0);
|
||||
if (nullptr == m_pQuadTree)
|
||||
if (nullptr == m_pQuadTree){
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
m_pQuadTree->SetUp_Neighbors();
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@ class ENGINE_DLL CAnimation : public CBase
|
||||
vector<_int>* Capture_Bones();
|
||||
void InterpAnim(CAnimation* pPreAnim, vector<CBone*>& Bones, _float fRatio);
|
||||
|
||||
|
||||
|
||||
void CreateGPUData(ID3D11Device* pDevice);
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ enum ESTATE
|
||||
COMBAT, LIGHT_ATTACK, SPELL, SKILL, SKILL2,
|
||||
MAPHELP,POTION,
|
||||
ACCIO,DESCENDO,DIFFINDO,DEPULSO,LUMOS,LUMOS_STOP,DISILLUSION_ENTER,DISILLUSION_EXIT, ANCIENT_THROW,
|
||||
BROOM_IDLE,BROOM_FWD, BROOM_HOVER_IDLE, BROOM_HOVER_START,BROOM_MOUNT, BROOM_MOUNT_END,
|
||||
BROOM_IDLE,BROOM_FWD,BROOM_LEFT,BROOM_RIGHT,BROOM_DOWN,BROOM_UP, BROOM_HOVER_IDLE, BROOM_HOVER_START,BROOM_MOUNT, BROOM_MOUNT_END,
|
||||
HIT, HIT_FWD, HIT_BWD, HIT_BWD2, HIT_BWD3, HIT_BWD4, HIT_L, HIT_R,
|
||||
KNOCKDOWN, KNOCKDOWN_FWD, KNOCKDOWN_FWD_SPLT, KNOCKDOWN_FWD_SPLT_HOLD, KNOCKDOWN_BWD, KNOCKDOWN_BWD_SPLT, KNOCKDOWN_BWD_SPLT_HOLD,
|
||||
GETUP, GETUP_BWD, GETUP_FWD, GETUP_L, GETUP_L_FD, GETUP_L_FU, GETUP_R, GETUP_R_FD, GETUP_R_FU, GETUP_SLOUCH,
|
||||
|
||||
Reference in New Issue
Block a user