[add] Field_CamLook
This commit is contained in:
@@ -31,6 +31,10 @@ HRESULT CCamPosition_Shoulder::Initialize(void* pArg)
|
||||
|
||||
CAMERA_SHOULDER_DESC* pDesc = static_cast<CAMERA_SHOULDER_DESC*>(pArg);
|
||||
{
|
||||
_uint iLevel = NEXT_LEVEL;
|
||||
if (iLevel == ENUM_CLASS(LEVEL::FIELD)) {
|
||||
m_vAccRotDegrees.y = 90.f;
|
||||
}
|
||||
m_pLookTransform = m_pTarget_LookPart->Get_Component<CTransform>();
|
||||
m_pFollowTransform = m_pTarget_FollowPart->Get_Component<CTransform>();
|
||||
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;
|
||||
|
||||
|
||||
@@ -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<CPlayer>(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &playerDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ HRESULT CPlayer::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Parts())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
Load_KeyFrame();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user