diff --git a/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp index 5470b3e97..a32e76772 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_Playable_HitReport.cpp @@ -93,7 +93,7 @@ void CCallBack_Playable_HitReport::onShapeHit(const PSX::PxControllerShapeHit& h } vForceDir.normalize(); - float forceMagnitude = PSX::PxClamp(fLength * 200.f, 0.f, 500.f); + float forceMagnitude = PSX::PxClamp(fLength * 40.f, 0.f, 100.f); PSX::PxRigidBodyExt::addForceAtPos(*pDynamic, vForceDir * forceMagnitude, { (_float)hit.worldPos.x, (_float)hit.worldPos.y, (_float)hit.worldPos.z }, PSX::PxForceMode::eFORCE); pTargetActorData->pOwner->OnCollision(); dynamic_cast(m_pController->Get_Owner())->Set_OpenDoor(true); diff --git a/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp index 39a76043e..500c63b10 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_Troll_HitReport.cpp @@ -89,7 +89,7 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit) //pDynamic->setRigidBodyFlag(PSX::PxRigidBodyFlag::eKINEMATIC, false); PSX::PxVec3 vCompressedDir = -vWorldNormal; vCompressedDir.normalize(); - pDynamic->addForce(vCompressedDir * fLength * 1000.f, PSX::PxForceMode::eFORCE); + pDynamic->addForce(vCompressedDir * fLength * 100.f, PSX::PxForceMode::eIMPULSE); }break; default: { diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index b9267484e..8d60bbe54 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -169,7 +169,7 @@ void CLevel_GamePlay::Update(_float fTimeDelta) _bool bStartCinematic = { true }; #ifdef _DEBUG #ifdef 기무리 - bStartCinematic = false; + bStartCinematic = true; #elif 진우 bStartCinematic = true; #elif Bin @@ -363,9 +363,9 @@ HRESULT CLevel_GamePlay::Ready_Background() isReady_Hogwart = false; #endif // #ifdef 기무리 - isReady_Background = false; - isReady_Hogsmeade = false; - isReady_Hogwart = false; + isReady_Background = true; + isReady_Hogsmeade = true; + isReady_Hogwart = true; #endif // #ifdef 나 isReady_Background = false; @@ -1243,8 +1243,8 @@ void CLevel_GamePlay::ResetLevel_Environment() m_pLight->Get_Component()->RotationQ(XMVectorSet(0.581f, 0.239f, -0.183f, 0.757f)); m_pLight->Get_Component()->Translation(XMVectorSet(0.f, 0.f, 0.f, 1.f)); - m_pGameInstance->Set_Environment(_float3(0.54300f, 0.40100f, 4.00000f), _float(0.5f), _float2(0.019f, 0.161f), - _float2(2.300f, 10.000f), _float4(0.0047f, 0.0018f, 0.0018f, 0.0018f), + m_pGameInstance->Set_Environment(_float3(0.54300f, 0.40100f, 4.00000f), _float(0.5f), _float2(0.054f, 0.161f), + _float2(2.300f, 10.000f), _float4(0.0032f, 0.0018f, 0.0018f, 0.0018f), _float4(2.f, 1.f, 1.f, 1.f), _float3(-10.f, -10.f, -50.f), _float3(10.f, 10.f, 50.f)); m_pLight->Capture_PreShadow(); } diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 85e348d2a..7e36aa7ab 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -581,7 +581,7 @@ HRESULT CLoader::Loading_For_GamePlay() #endif // #ifdef 기무리 isLoad_Background = true; - isLoad_Hogwart = false; + isLoad_Hogwart = true; isLoad_UI_SEQUANTIAL = false; isLoad_NPC = false; isLoad_Monster = true; diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index 72f35da39..cfd4d9dee 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -225,16 +225,16 @@ HRESULT CTroll::Render() } #ifdef _DEBUG - //if (true == m_pCharacter_Controller->IsActive()) { - // if (FAILED(m_pCharacter_Controller->Render())) { - // return E_FAIL; - // } - //} - //else { - // if (FAILED(m_pRigidBody->Render())) { - // return E_FAIL; - // } - //} + if (true == m_pCharacter_Controller->IsActive()) { + if (FAILED(m_pCharacter_Controller->Render())) { + return E_FAIL; + } + } + else { + if (FAILED(m_pRigidBody->Render())) { + return E_FAIL; + } + } #endif if (0.f < m_fDeadRatio) { @@ -531,7 +531,7 @@ HRESULT CTroll::Ready_Components() Desc.fMaterial = { 1.2f, 1.0f, 0.0f }; Desc.bAutoStepping = { false }; Desc.fStepOffset = { 0.02f }; - Desc.fRadius = 1.2f; + Desc.fRadius = 1.f; Desc.fHeight = 1.5f; Desc.pCallback_HitReport = m_pCallBack_HitReport = CCallBack_Troll_HitReport::Create(); Desc.pCallback_Behavior = m_pCallBack_Behavior = CCallBack_Monster_Behavior::Create(); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index a4f1c368d..91e3395f0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -535,7 +535,7 @@ PS_OUT_LIGHT PS_MAIN_POINT(PS_IN In) float3 vF0 = float3(0.04f, 0.04f, 0.04f); float fMetallic = 0.f; float fRoughness = 0.5f; - float fOcclusion = 1.f; + float fOcclusion = 1.f; float fAttenuation = 1.f; float3 vFinalLightPosition = g_vLightPos.xyz + g_vLightPosOffset.xyz; diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl index a4f1c368d..91e3395f0 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Deferred.hlsl @@ -535,7 +535,7 @@ PS_OUT_LIGHT PS_MAIN_POINT(PS_IN In) float3 vF0 = float3(0.04f, 0.04f, 0.04f); float fMetallic = 0.f; float fRoughness = 0.5f; - float fOcclusion = 1.f; + float fOcclusion = 1.f; float fAttenuation = 1.f; float3 vFinalLightPosition = g_vLightPos.xyz + g_vLightPosOffset.xyz;