[add] ReparoObject 상호작용 추가

[add] 동굴 레벨전환 트리거박스 추가
[add] CLand RigidBody 추가
This commit is contained in:
Chanbin Kim
2026-01-13 00:13:11 +09:00
parent 81eddf353f
commit b0c2281ffe
33 changed files with 765 additions and 87 deletions
+19
View File
@@ -21,6 +21,7 @@
#include "Effect_Container.h"
#include "ThestralCarriage.h"
#include "MapElement_Chest.h"
#include "ReparoObject.h"
CPlayer::CPlayer(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CUnit(pDevice, pContext)
@@ -887,6 +888,24 @@ void CPlayer::Find_HiddenObjects()
}
void CPlayer::Check_Reparoobejcts()
{
CLayer* pLayer = m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_REPARO);
if (nullptr == pLayer)
return;
const list<class CGameObject*>* pReparoObjects = pLayer->Get_Objects();
for (auto& pObject : *pReparoObjects)
{
CReparoObject* pReparoObject = dynamic_cast<CReparoObject*>(pObject);
if (nullptr != pReparoObject)
if (pReparoObject->IsRepairable(false))
return;
}
}
void CPlayer::Update_CameraCoordinateSystem(_float fTimeDelta)
{
_vector xmvCameraLook = XMVector3Normalize(XMVectorSetY(m_pGameInstance->Get_CameraLook(), 0.f));