diff --git a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp index 0870fa0bb..0e6bde7bc 100644 --- a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp +++ b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp @@ -171,14 +171,14 @@ HRESULT CCutSceneInfo::Clear_AllEvents() HRESULT CCutSceneInfo::Ready_GameplayCutScenes() { { - Load_CutSceneXML("../Bin/Resources/Data/CutScene/CarriageIntro.xml"); + //Load_CutSceneXML("../Bin/Resources/Data/CutScene/CarriageIntro.xml"); } return S_OK; } HRESULT CCutSceneInfo::Ready_FieldCutScenes() { { - Load_CutSceneXML("../Bin/Resources/Data/CutScene/RanrokCutScene.xml"); + //Load_CutSceneXML("../Bin/Resources/Data/CutScene/RanrokCutScene.xml"); } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp index 09ca77df5..d94b58095 100644 --- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp @@ -668,6 +668,7 @@ _int CEffect_Container::CollisionCheck() case PXOBJECT::GOBLIN_ASSASSIN: case PXOBJECT::TROLL: case PXOBJECT::RANROK: + case PXOBJECT::RANROK_BODY: case PXOBJECT::WALL: { return i; @@ -752,6 +753,7 @@ ON_COLLISION_INFO CEffect_Container::SweepTarget(_fvector StartPos, _fvector End m_bHitShield = true; } break; + case PXOBJECT::RANROK_BODY: case PXOBJECT::RANROK_PROP: { pUserData->pOwner->OnCollision(this, &tagCollInfo); diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index e25b21c34..7da8d944d 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -125,7 +125,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg) _bool bLoadNPC = { true }; #ifdef _DEBUG #ifdef 기무리 - bLoadNPC = true; + bLoadNPC = false; #endif #endif // _DEBUG if (true == bLoadNPC) { @@ -167,7 +167,7 @@ void CLevel_GamePlay::Update(_float fTimeDelta) _bool bStartCinematic = { true }; #ifdef _DEBUG #ifdef 기무리 - bStartCinematic = true; + bStartCinematic = false; #elif 진우 bStartCinematic = true; #else @@ -359,9 +359,9 @@ HRESULT CLevel_GamePlay::Ready_Background() isReady_Hogwart = false; #endif // #ifdef 기무리 - isReady_Background = true; - isReady_Hogsmeade = true; - isReady_Hogwart = true; + isReady_Background = false; + isReady_Hogsmeade = false; + isReady_Hogwart = false; #endif // #ifdef 나 isReady_Background = false; @@ -1153,8 +1153,8 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc() isLoad_NPC = false; #endif // #ifdef 기무리 - isLoad_NPC = true; - isLoad_RandomNPC = true; + isLoad_NPC = false; + isLoad_RandomNPC = false; #endif // #ifdef 나 isLoad_RandomNPC = true; diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index a48a95a0a..1428fb8c8 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -548,10 +548,10 @@ HRESULT CLoader::Loading_For_GamePlay() isLoad_UI_SEQUANTIAL = false; #endif // #ifdef 기무리 - isLoad_Background = true; - isLoad_Hogwart = true; - isLoad_UI_SEQUANTIAL = true; - isLoad_NPC = true; + isLoad_Background = false; + isLoad_Hogwart = false; + isLoad_UI_SEQUANTIAL = false; + isLoad_NPC = false; isLoad_Monster = true; #endif // #ifdef 나 diff --git a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp index 9c2155651..96e04adb8 100644 --- a/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp +++ b/Jusin154_Team3D/Client/Private/MapElement_Interactable.cpp @@ -401,6 +401,7 @@ ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _f m_bHit = true; } break; + case PXOBJECT::RANROK_BODY: case PXOBJECT::RANROK: { pUserData->pOwner->OnCollision(this, &tagCollInfo); diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp index 946c79a67..476fdecf5 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp @@ -84,8 +84,6 @@ void CRanrok_Prop::Update(_float fTimeDelta) m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true); Update_Event(fTimeDelta); - m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true); - /* 시작 사이즈 러프 */ if (m_fSizeAccTime > XM_PIDIV2 && m_isSizeLerpEnd == false) { diff --git a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp index 29e9eacd4..5120169bf 100644 --- a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp +++ b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp @@ -202,23 +202,12 @@ HRESULT CRigidBody_Dynamic::ConvertToCCT(CCharacter_Controller& CCTOriginal) return E_FAIL; } + void CRigidBody_Dynamic::Detach_Actor(_uint iLevel) { m_pGameInstance->Detach_Actor(*m_pRigidBody, iLevel); // 현재 액터 비활성화 m_bActive = false; } - -void CRigidBody_Dynamic::SetActive(_bool bCondition) -{ - m_bActive = bCondition; - if (true == m_bActive) { - m_pGameInstance->Attach_Actor(*m_pRigidBody, m_pGameInstance->Get_NextLevelID()); - } - else { - m_pGameInstance->Detach_Actor(*m_pRigidBody, m_pGameInstance->Get_NextLevelID()); - } -} - _vector CRigidBody_Dynamic::Get_Position() { PSX::PxVec3 pxPos = m_pRigidBody->getGlobalPose().p; diff --git a/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h b/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h index 9bf4a46f3..60782dd23 100644 --- a/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h +++ b/Jusin154_Team3D/Engine/Public/RigidBody_Dynamic.h @@ -55,9 +55,9 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody void Move_Kinematic(PSX::PxTransform& pxDestination, _bool bTeleport = true); HRESULT ConvertToCCT(class CCharacter_Controller& CCTOriginal); - void Detach_Actor(_uint iLevel); _bool IsActive() const { return m_bActive; } - void SetActive(_bool bCondition); + void SetActive(_bool bCondition) { m_bActive = bCondition; } + void Detach_Actor(_uint iLevel); _vector Get_Position(); void Set_Position(_vector vPos, _bool bTeleport);