From dcf4567bd18bb629fb037f924ca89e3abff3bbad Mon Sep 17 00:00:00 2001 From: kimnuri Date: Fri, 16 Jan 2026 01:05:33 +0900 Subject: [PATCH] [add] Field_CamLook --- Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp | 6 ++++++ Jusin154_Team3D/Client/Private/Level_Field.cpp | 4 ++-- Jusin154_Team3D/Client/Private/Level_GamePlay.cpp | 2 +- Jusin154_Team3D/Client/Private/Player.cpp | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp index ff308255d..91f83cfe1 100644 --- a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp +++ b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp @@ -31,6 +31,10 @@ HRESULT CCamPosition_Shoulder::Initialize(void* pArg) CAMERA_SHOULDER_DESC* pDesc = static_cast(pArg); { + _uint iLevel = NEXT_LEVEL; + if (iLevel == ENUM_CLASS(LEVEL::FIELD)) { + m_vAccRotDegrees.y = 90.f; + } m_pLookTransform = m_pTarget_LookPart->Get_Component(); m_pFollowTransform = m_pTarget_FollowPart->Get_Component(); m_pParentPos = m_pParentTransformCom->Get_StatePtr(STATE::POSITION); @@ -43,6 +47,8 @@ HRESULT CCamPosition_Shoulder::Initialize(void* pArg) _vector vLookTargetPos = Calc_LookTargetPos(); m_pLookTransform->Set_State(STATE::POSITION, vLookTargetPos); m_pFollowTransform->Set_State(STATE::POSITION, Calc_FollowTargetPos(vLookTargetPos) + XMVectorSet(0.f, 0.f, 1.f, 0.f)); + + } m_bDampingParentPos = true; diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp index 76e8b8192..d1d562c27 100644 --- a/Jusin154_Team3D/Client/Private/Level_Field.cpp +++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp @@ -306,8 +306,8 @@ HRESULT CLevel_Field::Ready_Markers() HRESULT CLevel_Field::Ready_Layer_Player(const _wstring& strLayerTag) { CPlayer::PLAYERDESC playerDesc = {}; - playerDesc.vPos = _float4(-17.96f, 18.74f, 9.11f, 1.f); - playerDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f); + playerDesc.vPos = _float4(-11.23f, 12.6f, 12.75f, 1.f); + playerDesc.vRotQ = _float4(0.f, -0.52694778f, 0.f, 0.84989766f); if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &playerDesc))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index dcf81cd1d..2a395996f 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -343,7 +343,7 @@ HRESULT CLevel_GamePlay::Ready_Background() // 맵 로드할지 안할지 bool 설정 // --------------------------------- _bool isReady_Background = { true }; - _bool isReady_Hogsmeade = { false }; + _bool isReady_Hogsmeade = { true }; _bool isReady_Hogwart = { true }; #ifdef _DEBUG diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp index 69540d1fe..6d7a17df2 100644 --- a/Jusin154_Team3D/Client/Private/Player.cpp +++ b/Jusin154_Team3D/Client/Private/Player.cpp @@ -53,6 +53,7 @@ HRESULT CPlayer::Initialize(void* pArg) if (FAILED(Ready_Parts())) { return E_FAIL; } + #ifdef _DEBUG Load_KeyFrame();