diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index 49dd2a365..a6bbfcca4 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -185,6 +185,7 @@ call Update_Resources.bat
+
@@ -366,6 +367,7 @@ call Update_Resources.bat
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index 519fe9a6b..31269e643 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -532,7 +532,7 @@
02.GameObjects\Effect\PropsEffect\Barral
-
+
04.Mechanic\State\Broom_Player\State_Broom_Hover
@@ -554,6 +554,9 @@
02.GameObjects\Environment\03.MapElement\Door
+
+ 02.GameObjects\Item\Potion
+
@@ -1148,7 +1151,7 @@
{3103c6e1-60cb-438b-a3eb-844b919ccd43}
-
+
{24f6903f-8f6b-46ff-a387-ecb44d673887}
@@ -1170,6 +1173,9 @@
{b09f9ada-6cf4-41a4-ad28-f00855509825}
+
+ {ace6c64f-901a-424e-99da-53f281413d77}
+
@@ -1646,7 +1652,7 @@
02.GameObjects\Effect\PropsEffect\Chair
-
+
04.Mechanic\State\Broom_Player\State_Broom_Hover
@@ -1668,6 +1674,9 @@
02.GameObjects\Environment\03.MapElement\Door
+
+ 02.GameObjects\Item\Potion
+
diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
index d59ff7c5e..a46a4728b 100644
--- a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
+++ b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
@@ -41,8 +41,9 @@ 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));
+ m_pFollowTransform->Set_State(STATE::POSITION, Calc_FollowTargetPos(vLookTargetPos) + XMVectorSet(0.f, 0.f, 1.f, 0.f));
}
+ m_bDampingParentPos = true;
return S_OK;
}
@@ -153,6 +154,15 @@ void CCamPosition_Shoulder::Late_Update(_float fTimeDelta)
m_fFollowTargetIncludedAngleDegree = CMyTools::Lerp_f1D(m_vShoulderLerpDegree.x, m_vShoulderLerpDegree.y, fLerpRatio);
}
}
+ if (true == m_bStartGame) {
+ m_vStartLerpTimer.x += fTimeDelta;
+ if (m_vStartLerpTimer.x >= m_vStartLerpTimer.y) {
+ m_vStartLerpTimer.x = 0.f;
+ m_bDampingParentPos = true;
+ m_bStartGame = false;
+ }
+ m_pGameInstance->Add_RenderGroup(RENDER::UI_OVERLAY, this);
+ }
}
HRESULT CCamPosition_Shoulder::Render()
@@ -185,8 +195,19 @@ _vector CCamPosition_Shoulder::Calc_FollowTargetPos(_vector vLookTargetWorldPos)
_vector fRotQ = XMQuaternionRotationAxis(XMVectorSet(0.f, 1.f, 0.f, 0.f), XMConvertToRadians(-m_fFollowTargetIncludedAngleDegree));
_vector vDestPos = Calc_DampingParentPos();
_vector vHeadPos = vDestPos + XMVectorSet(0.f, m_fHeadHeight, 0.f, 0.f);
- _vector vDir = XMVector3Normalize(vHeadPos - vLookTargetWorldPos);
- vDir = XMVector3Rotate(vDir, fRotQ);
+ _vector vDir = vHeadPos - vLookTargetWorldPos;
+ _float fLengthSQ = XMVectorGetX(XMVector3LengthSq(vDir));
+
+ if (fLengthSQ < FLT_EPSILON)
+ {
+ vDir = XMVectorSet(0.f, 0.f, 1.f, 0.f);
+ vDir = XMVector3Rotate(vDir, fRotQ);
+ }
+ else
+ {
+ vDir = XMVector3Normalize(vDir);
+ vDir = XMVector3Rotate(vDir, fRotQ);
+ }
m_BufferHit = {};
_bool bHit = m_pGameInstance->SphereCast( 0.25f, vLookTargetWorldPos, vDir, fBestFollowTargetDistance,
@@ -250,7 +271,11 @@ _vector CCamPosition_Shoulder::Calc_FollowTargetPos(_vector vLookTargetWorldPos)
}
_vector CCamPosition_Shoulder::Calc_DampingParentPos()
{
- return XMVectorLerp(XMLoadFloat4(&m_vDampingStartPosition), XMLoadFloat4(&m_vDampingDestPosition), m_vDampingLerpTimer.x / m_vDampingLerpTimer.y);
+ _float duration = max(m_vDampingLerpTimer.y, FLT_EPSILON);
+ _float fTime = m_vDampingLerpTimer.x / duration;
+ fTime = CMyTools::Saturate(fTime); // 0~1
+
+ return XMVectorLerp(XMLoadFloat4(&m_vDampingStartPosition), XMLoadFloat4(&m_vDampingDestPosition), fTime);
}
void CCamPosition_Shoulder::Set_CameraShake(_float fXShock, _float fYShock)
{
@@ -297,9 +322,11 @@ HRESULT CCamPosition_Shoulder::Ready_SubParts()
CCamPosition_Target::CAMERAPOSITION_TARGET_DESC Desc{};
Desc.pParentTransform = m_pTransformCom;
m_pTarget_LookPart = m_pGameInstance->Clone_Prototype< CCamPosition_Target>(g_iStaticLevel, &Desc);
+ m_pTarget_LookPart->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(-34.f, 5, -10.4f, 1.f));
m_pTarget_FollowPart = m_pGameInstance->Clone_Prototype< CCamPosition_Target>(g_iStaticLevel, &Desc);
+ m_pTarget_FollowPart->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(-34.f, 5, -11.4f, 1.f));
}
-
+
CCamera_Gaze::CAMERA_GAZE_DESC CameraDesc{};
CameraDesc.fFovy = XMConvertToRadians(60.0f);
CameraDesc.fNear = 0.1f;
@@ -321,8 +348,11 @@ HRESULT CCamPosition_Shoulder::Ready_SubParts()
{
return E_FAIL;
}
+
m_pGameInstance->Add_Camera(g_iStaticLevel, m_pBinded_Camera, CAMERA_SHOULDER);
-
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_SHOULDER, true))) {
+ return E_FAIL;
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
index 7fe2793d2..42de744a8 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Debug.cpp
@@ -17,7 +17,13 @@ CCamera_Debug::CCamera_Debug(const CCamera_Debug& rhs)
void CCamera_Debug::Priority_Update(_float fTimeDelta)
{
+#ifndef 기무리
+#ifdef _DEBUG
m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_DEBUG, false);
+#endif // _DEBUG
+#endif // !기무리
+
+
}
void CCamera_Debug::Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
index fff36f194..55725ff98 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
@@ -20,14 +20,16 @@ void CCamera_Gaze::Priority_Update(_float fTimeDelta)
}
if (false == m_bIsCurrentTransition) {
if (m_bEnable_FollowLerp) {
- _vector vNewPos = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vFollowPos_Src), XMLoadFloat3(&m_vFollowPos_Dest), m_vFollowLerpTime.x / m_vFollowLerpTime.y), 1.f);
+ _float fTimeDenom = max(m_vFollowLerpTime.y, FLT_EPSILON);
+ _vector vNewPos = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vFollowPos_Src), XMLoadFloat3(&m_vFollowPos_Dest), CMyTools::Saturate(m_vFollowLerpTime.x / fTimeDenom)), 1.f);
m_pTransformCom->Set_State(STATE::POSITION, vNewPos);
}
else {
m_pTransformCom->Set_State(STATE::POSITION, m_pFollowTarget->Get_Component()->Get_State(STATE::POSITION));
}
if (m_bEnable_LookLerp) {
- _vector vNewLook = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vLookPos_Src), XMLoadFloat3(&m_vLookPos_Dest), m_vLookLerpTime.x / m_vLookLerpTime.y), 1.f);
+ _float fTimeDenom = max(m_vLookLerpTime.y, FLT_EPSILON);
+ _vector vNewLook = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vLookPos_Src), XMLoadFloat3(&m_vLookPos_Dest), CMyTools::Saturate(m_vLookLerpTime.x / fTimeDenom)), 1.f);
m_pTransformCom->LookAt(vNewLook);
}
else {
@@ -82,14 +84,18 @@ void CCamera_Gaze::Enable_FollowLerp()
{
m_bEnable_FollowLerp = true;
m_vFollowLerpTime.x = 0.f;
- XMStoreFloat3(&m_vFollowPos_Src, m_pFollowTarget->Get_WorldPostion());
+
+ XMStoreFloat3(&m_vFollowPos_Src, m_pTransformCom->Get_State(STATE::POSITION));
+ XMStoreFloat3(&m_vFollowPos_Dest, m_pFollowTarget->Get_WorldPostion());
}
void CCamera_Gaze::Enable_LookLerp()
{
m_bEnable_LookLerp = true;
m_vLookLerpTime.x = 0.f;
- XMStoreFloat3(&m_vLookPos_Src, m_pLookTarget->Get_WorldPostion());
+ _vector vLookTargetPos = m_pLookTarget->Get_WorldPostion();
+ XMStoreFloat3(&m_vLookPos_Src, vLookTargetPos);
+ XMStoreFloat3(&m_vLookPos_Dest, vLookTargetPos);
}
void CCamera_Gaze::Toggle_Priority()
@@ -127,6 +133,8 @@ HRESULT CCamera_Gaze::Initialize(void* pArg)
if (FAILED(Ready_Components(pArg))) {
return E_FAIL;
}
+ m_pTransformCom->Set_State(STATE::POSITION, m_pFollowTarget->Get_WorldPostion());
+ m_pTransformCom->LookAt(m_pLookTarget->Get_WorldPostion());
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp
index 2508cc975..09c1978b7 100644
--- a/Jusin154_Team3D/Client/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp
@@ -171,19 +171,6 @@ HRESULT CEffectPool::Bind_ShaderResources()
HRESULT CEffectPool::Ready_Effect()
{
-#ifdef 기무리
- if (FAILED(Create_Effect(SKILL_TYPE::JAP, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
- CNomalJap* pEffect = nullptr;
-
- pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
-
- return pEffect; }
- ))) return E_FAIL;
-
-#endif // 기무리
-
-
-#ifndef 기무리
if (FAILED(Create_Effect(SKILL_TYPE::JAP, 10, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
CNomalJap* pEffect = nullptr;
@@ -326,8 +313,6 @@ HRESULT CEffectPool::Ready_Effect()
return pEffect; }
))) return E_FAIL;
-#endif // !기무리
-
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/InteractiveInfo.cpp b/Jusin154_Team3D/Client/Private/InteractiveInfo.cpp
index f01b2c22d..de70af286 100644
--- a/Jusin154_Team3D/Client/Private/InteractiveInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/InteractiveInfo.cpp
@@ -61,7 +61,7 @@ HRESULT CInteractiveInfo::Refresh_LockOnTarget()
_vector vCameraPos = m_pGameInstance->Get_CamXMPosition();
_float fMaxDot = { 0.f };
- _vector vMonsterPos;
+ _vector vInteractablePos;
_vector vToMonsterDir;
_bool bAim = false;
_float fFovy = 0.f;
@@ -83,8 +83,11 @@ HRESULT CInteractiveInfo::Refresh_LockOnTarget()
// (카메라의 룩)과 (카메라 -> 몬스터 방향 벡터)를 내적해서 가장 큰 크기가 나온 몬스타가 락온 대상
CMapElement_Interactable* pInteractive = (*iter);
- vMonsterPos = pInteractive->Get_LockOnPos();
- vToMonsterDir = vMonsterPos - vCameraPos;
+ vInteractablePos = pInteractive->Get_LockOnPos();
+ vToMonsterDir = vInteractablePos - vCameraPos;
+ if (150.f <= XMVectorGetX(XMVector4Length(vToMonsterDir))) {
+ continue;
+ }
_float fDotResult = CMyTools::DirectionCompare(vCameraLook, vToMonsterDir);
if (fDotResult <= cosf(fFovy)) {
continue;
diff --git a/Jusin154_Team3D/Client/Private/Item_Potion.cpp b/Jusin154_Team3D/Client/Private/Item_Potion.cpp
new file mode 100644
index 000000000..1609a2c54
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/Item_Potion.cpp
@@ -0,0 +1,200 @@
+#include "pch.h"
+#include "Item_Potion.h"
+
+#include "GameInstance.h"
+
+CItem_Potion::CItem_Potion(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CPartObject(pDevice, pContext)
+{
+}
+
+CItem_Potion::CItem_Potion(const CItem_Potion& Prototype)
+ : CPartObject(Prototype)
+{
+}
+
+HRESULT CItem_Potion::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CItem_Potion::Initialize(void* pArg)
+{
+ POTION_DESC* pDesc = static_cast (pArg);
+ m_pSocketMatrices = pDesc->pSocketMatrices;
+
+ if (FAILED(__super::Initialize(pArg))) {
+ return E_FAIL;
+ }
+
+
+ if (FAILED(Ready_Components())) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+void CItem_Potion::Priority_Update(_float fTimeDelta)
+{
+
+
+#ifdef _DEBUG
+ Describe_Entity();
+
+#endif // _DEBUG
+}
+
+void CItem_Potion::Update(_float fTimeDelta)
+{
+ m_pModelCom->Combined_BoneMatrix();
+
+}
+
+void CItem_Potion::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible)
+ {
+ m_fTimer += fTimeDelta;
+ if (m_fTimer >= 1.7f) {
+ m_fTimer = 0.f;
+ m_bVisible = false;
+ }
+
+ }
+ if (m_bAttach)
+ {
+ _matrix socketMatrix = {};
+
+ socketMatrix = XMLoadFloat4x4(m_pSocketMatrices);
+
+ for (int i = 0; i < 3; ++i) {
+ socketMatrix.r[i] = XMVector3Normalize(socketMatrix.r[i]);
+ }
+
+ m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
+ }
+
+
+ m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+}
+
+HRESULT CItem_Potion::Render()
+{
+ if (!m_pModelCom)
+ return S_OK;
+
+ if (!m_bVisible)
+ return S_OK;
+
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+
+ _uint iNumMeshes = m_pModelCom->Get_NumMeshes();
+
+ for (_uint i = 0; i < iNumMeshes; i++)
+ {
+ if (FAILED(m_pModelCom->Bind_Material(i, m_pShaderCom))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_ANIM::DEFAULT)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pModelCom->Render(i))) {
+ return E_FAIL;
+ }
+ }
+
+ return S_OK;
+}
+
+void CItem_Potion::Set_Attach(_bool Attach)
+{
+ m_bAttach = Attach;
+}
+
+
+HRESULT CItem_Potion::Ready_Components()
+{
+ __super::Ready_Components(nullptr);
+
+
+ /* Com_Model */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_Potion_Model"),
+ reinterpret_cast(&m_pModelCom))))
+ return E_FAIL;
+
+ /* Com_Shader */
+ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, FX_MESH,
+ reinterpret_cast(&m_pShaderCom))))
+ return E_FAIL;
+
+ return S_OK;
+}
+
+HRESULT CItem_Potion::Bind_ShaderResources()
+{
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_WorldMatrix", m_pTransformCom->Get_WorldMatrixPtr()))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+
+CItem_Potion* CItem_Potion::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CItem_Potion* pInstance = new CItem_Potion(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CItem_Potion");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CItem_Potion::Clone(void* pArg, CGameObject* pOwner)
+{
+ CItem_Potion* pInstance = new CItem_Potion(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CItem_Potion");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CItem_Potion::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pModelCom);
+
+}
+#ifdef _DEBUG
+
+void CItem_Potion::Describe_Entity()
+{
+
+}
+
+#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index 3226b3dce..d6f4373fe 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -263,8 +263,9 @@ HRESULT CLevel_GamePlay::Ready_Background()
CInfoInstance::GetInstance()->Load_MapObjects("Hogsmeade_MapContainer_Data");
/* 물 오브젝트 */
- if (FAILED(CInfoInstance::GetInstance()->Load_WaterElemet("Element_Water_Info")))
+ if (FAILED(CInfoInstance::GetInstance()->Load_WaterElemet("Element_Water_Info"))){
return E_FAIL;
+ }
/* 조명 오브젝트 */
CInfoInstance::GetInstance()->Load_LightElements("LightElement");
@@ -441,6 +442,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_UI(const _wstring& strLayerTag)
HRESULT CLevel_GamePlay::Ready_Layer_Camera()
{
+#ifdef _DEBUG
CCamera_Debug::CAMERA_DEBUG_DESC Camera_Desc{};
Camera_Desc.fFovy = XMConvertToRadians(60.0f);
Camera_Desc.fNear = 0.1f;
@@ -465,6 +467,11 @@ HRESULT CLevel_GamePlay::Ready_Layer_Camera()
return E_FAIL;
}
+#endif // _DEBUG
+
+ if (FAILED(m_pGameInstance->Bind_Camera(g_iStaticLevel, CAMERA_SHOULDER, true))) {
+ return E_FAIL;
+ }
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 995765791..8f56c753e 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -18,6 +18,7 @@
#include "Troll_Rock.h"
#include "Goblin_Dagger.h"
#include "Wand.h"
+#include "Item_Potion.h"
#include "Goblin_BattleAxe.h"
#pragma region ACTOR
@@ -1471,6 +1472,11 @@ HRESULT CLoader::Loading_For_GamePlay()
CModel::Create(m_pDevice, m_pContext, MODEL::ANIM, "../Bin/Resources/Models/Object/Wand/Wand.bin", XMMatrixScaling(0.01f, 0.01f, 0.01f) * XMMatrixRotationX(XMConvertToRadians(-90.f)) * XMMatrixIdentity()))))
return E_FAIL;
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Potion_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM, "../Bin/Resources/Models/Object/Potion/SM_Bottle_EmptyCapOff.bin", XMMatrixIdentity()))))
+ return E_FAIL;
+
+
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Broom_Model"),
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Object/Broom/Broom.bin", XMMatrixScaling(0.0001f, 0.0001f, 0.0001f) * XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity()))))
return E_FAIL;
@@ -2188,6 +2194,10 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext))))
return E_FAIL;
+ /* For.Prototype_GameObject_Potion */
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CItem_Potion::Create(m_pDevice, m_pContext))))
+ return E_FAIL;
+
/* For.Prototype_GameObject_Troll_Weapon */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CTroll_Weapon::Create(m_pDevice, m_pContext))))
return E_FAIL;
diff --git a/Jusin154_Team3D/Client/Private/MapElement_Door.cpp b/Jusin154_Team3D/Client/Private/MapElement_Door.cpp
index 8d6a22b82..dd541d6ec 100644
--- a/Jusin154_Team3D/Client/Private/MapElement_Door.cpp
+++ b/Jusin154_Team3D/Client/Private/MapElement_Door.cpp
@@ -43,11 +43,11 @@ HRESULT CMapElement_Door::Initialize(void* pArg)
m_pTransformCom->Set_Scale(pDesc->vScale);
m_pTransformCom->Rotation(XMConvertToRadians(pDesc->vRotation.x), XMConvertToRadians(pDesc->vRotation.y), XMConvertToRadians(pDesc->vRotation.z));
- m_vBoxSize = _float3(1.f, 1.f, 1.f);/*
- m_pActor = static_cast(m_pRigidBody->Get_Actor());
+ //m_vBoxSize = _float3(1.f, 1.f, 1.f);
+ //m_pActor = static_cast(m_pRigidBody->Get_Actor());
- static_cast(m_pRigidBody)->Set_HalfGeometryInfo(pDesc->vBoxSize);
- static_cast(m_pRigidBody)->Move_LocalPos(_float4(0.f, 0.f, 0.f, 0.f), pDesc->vBoxLocalPosition);*/
+ //static_cast(m_pRigidBody)->Set_HalfGeometryInfo(pDesc->vBoxSize);
+ //static_cast(m_pRigidBody)->Move_LocalPos(_float4(0.f, 0.f, 0.f, 0.f), pDesc->vBoxLocalPosition);
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/MonsterInfo.cpp b/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
index 789d1815a..6ce1b881f 100644
--- a/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
@@ -142,7 +142,6 @@ HRESULT CMonsterInfo::Refresh_LockOnMonsters()
{ // 뷰프러스텀 순회해서 가장 중앙에 근접한 몬스터 찾기
for (list::iterator iter = m_ActiveMonsters.begin(); iter != m_ActiveMonsters.end(); ++iter)
{
-
// (카메라의 룩)과 (카메라 -> 몬스터 방향 벡터)를 내적해서 가장 큰 크기가 나온 몬스타가 락온 대상
CMonster* pMonster = (*iter);
if (pMonster->Get_Hp().x <= 0) {
@@ -150,6 +149,9 @@ HRESULT CMonsterInfo::Refresh_LockOnMonsters()
}
vMonsterPos = pMonster->Get_LockOnPos();
vToMonsterDir = vMonsterPos - vCameraPos;
+ if (150.f <= XMVectorGetX(XMVector4Length(vToMonsterDir))) {
+ continue;
+ }
_float fDotResult = CMyTools::DirectionCompare(vCameraLook, vToMonsterDir);
if (fDotResult <= cosf(fFovy)) {
continue;
diff --git a/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp b/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp
index 472f1bf11..e79d87d7f 100644
--- a/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp
+++ b/Jusin154_Team3D/Client/Private/NPC_Ollivander.cpp
@@ -25,9 +25,9 @@ void CNPC_Ollivander::Priority_Update(_float fTimeDelta)
void CNPC_Ollivander::Update(_float fTimeDelta)
{
m_pFSM->Update_State(fTimeDelta);
-
- m_pModelCom->Set_AnimationIndex(0);
-
+ if (m_pModelCom->IsFinishedAnim()) {
+ m_pModelCom->Set_AnimationIndex(m_pGameInstance->Random_Int(0, 19), false);
+ }
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
__super::Update(fTimeDelta);
#ifdef _DEBUG
@@ -41,6 +41,7 @@ void CNPC_Ollivander::Late_Update(_float fTimeDelta)
m_pTransformCom->Set_State(STATE::POSITION, m_pTransformCom->Get_EstimatedPositionByMomentum());
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+ m_pGameInstance->Add_RenderGroup(RENDER::SHADOW, this);
__super::Late_Update(fTimeDelta);
}
@@ -139,7 +140,8 @@ HRESULT CNPC_Ollivander::Initialize(void* pArg)
if (FAILED(Ready_Components(pArg))) {
return E_FAIL;
}
- m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-34.f, 5, -11.4f, 1.f));
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(40.f, 4.f, 68.9f, 1.f));
+ m_pModelCom->Set_AnimationIndex(m_pGameInstance->Random_Int(0, 19), false);
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index 25b87d1ee..c0fa3dd2e 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -7,6 +7,7 @@
#include "Camera_Gaze.h"
#include "CamPosition_Arm.h"
#include "Wand.h"
+#include "Item_Potion.h"
#include "Character_Controller.h"
#include "CallBack_Playable_Behavior.h"
#include "CamPosition_Shoulder.h"
@@ -92,6 +93,7 @@ HRESULT CPlayer::Initialize(void* pArg)
m_pInfoInstance->Set_Damage(m_pStat->Get_Stat().fDamage);
m_pCharacter_Controller->Set_Position(XMVectorSet(-34.f, 5, -11.4f, 1.f));
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-34.f, 5, -11.4f, 1.f));
#ifdef _DEBUG
m_BasicEffect = make_unique(m_pDevice);
@@ -462,6 +464,18 @@ HRESULT CPlayer::Ready_Parts()
return E_FAIL;
}
+ CItem_Potion::POTION_DESC PotionDesc{};
+
+ PotionDesc.pParentTransform = m_pTransformCom;
+ PotionDesc.pSocketMatrices = m_pModelCom->Get_BoneMatrixPtr("SKT_LeftHand");
+
+ if (FAILED(Add_PartObject("Potion", g_iStaticLevel, nullptr, &PotionDesc)))
+ {
+ return E_FAIL;
+ }
+
+ Get_PartObject()->Set_Visible(false);
+
{
CCamPosition_Shoulder::CAMERA_SHOULDER_DESC Desc;
Desc.pParentTransform = m_pTransformCom;
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
index 2dd4f4dd8..38505d5f3 100644
--- a/Jusin154_Team3D/Client/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -8,6 +8,7 @@
#include "Camera_Gaze.h"
#include "CamPosition_Arm.h"
#include "Wand.h"
+#include "Item_Potion.h"
#include "Character_Controller.h"
#include "MapElement_Interactable.h"
#include "CallBack_Playable_Behavior.h"
@@ -215,6 +216,7 @@ HRESULT CPlayer::Behavior_IdleExitCheck(_float fTimeDelta)
m_pFSM->Change_State(FSMSTATE::COMBAT);
}
else if (m_pGameInstance->Key_Down(DIK_G)) {
+ Get_PartObject()->Set_Visible(true);
m_pModelCom->Set_Second_AnimationIndex(ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L), m_Animation[STATEANIM::POTION].first, m_Animation[STATEANIM::POTION].second);
}
else if (m_pGameInstance->Key_Down(DIK_B)) {
@@ -408,6 +410,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
m_pFSM->Change_State(FSMSTATE::COMBAT);
}
else if (m_pGameInstance->Key_Down(DIK_G)) {
+ Get_PartObject()->Set_Visible(true);
m_pModelCom->Set_Second_AnimationIndex(ENUM_CLASS(BLEND_BONE::SHOULDER_NECK_L), m_Animation[STATEANIM::POTION].first, m_Animation[STATEANIM::POTION].second);
}
@@ -640,6 +643,7 @@ HRESULT CPlayer::Behavior_MoveExitCheck(_float fTimeDelta)
return S_OK;
}
+
if (m_pFSM->IsEnable(FSMSTATE::JOG | FSMSTATE::WALK | FSMSTATE::SPRINT) ||
!SUCCEEDED(InputMove())) {
if (!m_pFSM->IsEnable(FSMSTATE::STOP))
@@ -844,6 +848,12 @@ void CPlayer::Behavior_CombatEnter()
Add_Event(pairAnimInfo.first,
[this]() { Throwing_Interactive(); },
0.2f);
+
+ Add_Event(pairAnimInfo.first,
+ [this]() {
+ m_pGameInstance->SlowMotion(0.1f, 0.35f);
+ },
+ 0.1f);
}
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
}
diff --git a/Jusin154_Team3D/Client/Private/Terrain.cpp b/Jusin154_Team3D/Client/Private/Terrain.cpp
index 45f376a03..ab2082b9a 100644
--- a/Jusin154_Team3D/Client/Private/Terrain.cpp
+++ b/Jusin154_Team3D/Client/Private/Terrain.cpp
@@ -55,9 +55,7 @@ void CTerrain::Priority_Update(_float fTimeDelta)
void CTerrain::Update(_float fTimeDelta)
{
-#ifdef _DEBUG
- //Describe_Entity();
-#endif // DEBUG
+
}
void CTerrain::Late_Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp
index 2f8fa7435..fc834321a 100644
--- a/Jusin154_Team3D/Client/Private/Troll_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp
@@ -579,7 +579,7 @@ HRESULT CTroll::Behavior_BackHandSwingExitCheck(_float fTimeDelta)
m_pFSM->Change_State(FSMSTATE::COMBAT);
return E_FAIL;
}
- return E_FAIL;
+ return S_OK;
}
void CTroll::Behavior_BackHandSwingExit()
@@ -912,7 +912,7 @@ void CTroll::CheckHammerHits(_uint& iHitCount, vector& pxHits)
_bool bCollision = false;
m_SweepBufferHammer = {};
- bCollision = m_pGameInstance->SphereCast(1.2f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferHammer);
+ bCollision = m_pGameInstance->SphereCast(1.5f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferHammer);
if (true == bCollision) {
iHitCount += m_SweepBufferHammer.getNbTouches() + m_SweepBufferHammer.hasBlock;
auto touches = m_SweepBufferHammer.getTouches();
@@ -933,7 +933,7 @@ void CTroll::CheckHammerHits(_uint& iHitCount, vector& pxHits)
_bool bCollision = false;
m_SweepBufferGrip = {};
- bCollision = m_pGameInstance->SphereCast(1.2f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferGrip);
+ bCollision = m_pGameInstance->SphereCast(1.5f, vStartPos, vDir, fDistance, PSX::PxHitFlag::eDEFAULT, PSX::PxQueryFlag::eDYNAMIC, m_SweepBufferGrip);
if (true == bCollision) {
iHitCount += m_SweepBufferGrip.getNbTouches() + m_SweepBufferGrip.hasBlock;
auto touches = m_SweepBufferGrip.getTouches();
diff --git a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h
index 110c98dba..29ca69de3 100644
--- a/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h
+++ b/Jusin154_Team3D/Client/Public/CamPosition_Shoulder.h
@@ -48,11 +48,13 @@ class CCamPosition_Shoulder final : public CCamPosition
_float3 m_vShoulderLocalPos = { 1.f, 2.f, 2.f };
#pragma endregion
#pragma region Lerp
+ _bool m_bStartGame = { true };
_bool m_bDampingParentPos = { true };
_bool m_bShoulderLerp = { false };
_bool m_bRightShoulderActive = { true };
_float2 m_vShoulderLerpTimer = { 0.f, 0.30f };
_float2 m_vDampingLerpTimer = { 0.f, 0.10f };
+ _float2 m_vStartLerpTimer = { 0.f, 0.30f };
_float2 m_vShoulderLerpDegree = { };
_float2 m_vShoulderLerpIncludedAngleDegree = { -20.f, 20.f };
diff --git a/Jusin154_Team3D/Client/Public/Item_Potion.h b/Jusin154_Team3D/Client/Public/Item_Potion.h
new file mode 100644
index 000000000..983d862fd
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/Item_Potion.h
@@ -0,0 +1,54 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "PartObject.h"
+
+NS_BEGIN(Client)
+
+class CItem_Potion final : public CPartObject
+{
+public:
+ typedef struct tagPotion : public CPartObject::PARTOBJECT_DESC
+ {
+ const _float4x4* pSocketMatrices = { };
+ }POTION_DESC;
+private:
+ CItem_Potion(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CItem_Potion(const CItem_Potion& Prototype);
+ virtual ~CItem_Potion() = default;
+
+public:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+ virtual HRESULT Render() override;
+ void Set_Attach(_bool Attach);
+public:
+
+private:
+ const _float4x4* m_pSocketMatrices = { };
+ CShader* m_pShaderCom = { nullptr };
+ CModel* m_pModelCom = { nullptr };
+
+ _float4x4 m_pWandTipMatrix = {};
+ _float3 m_Offset = {};
+ _bool m_bAttach = { true };
+ _float m_fTimer = {};
+
+private:
+ HRESULT Ready_Components();
+ HRESULT Bind_ShaderResources();
+
+public:
+ static CItem_Potion* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr)override;
+ virtual void Free() override;
+
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // _DEBUG
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Bin/AnimIndex.txt b/Jusin154_Team3D/Editor/Bin/AnimIndex.txt
index 409d38ad4..a4a8adbb4 100644
--- a/Jusin154_Team3D/Editor/Bin/AnimIndex.txt
+++ b/Jusin154_Team3D/Editor/Bin/AnimIndex.txt
@@ -1,174 +1,20 @@
-0 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_135_anm
-1 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_180_anm
-2 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_45_anm
-3 Trl_BM_Alert_LF_Walk_Turn_Start_Lft_90_anm
-4 Trl_BM_Alert_LF_Walk_Turn_Start_Rht_135_anm
-5 Trl_BM_Alert_LF_Walk_Turn_Start_Rht_180_anm
-6 Trl_BM_Alert_LF_Walk_Turn_Start_Rht_90_anm
-7 Trl_BM_Alert_Look_2Cmbt_180L_anm
-8 Trl_BM_Alert_Look_2Cmbt_180R_anm
-9 Trl_BM_Alert_Look_2Cmbt_90L_anm
-10 Trl_BM_Alert_Look_2Cmbt_90R_anm
-11 Trl_BM_Alert_Look_2Cmbt_A_anm
-12 Trl_BM_Alert_Look_2Cmbt_anm
-13 Trl_BM_Alert_Look_2Cmbt_B_anm
-14 Trl_BM_Alert_Look_2Cmbt_C_ClubSwing_anm
-15 Trl_BM_Alert_Look_End_Fwd_anm
-16 Trl_BM_Alert_Look_Loop_anm
-17 Trl_BM_Alert_Look_Loop_v01_anm
-18 Trl_BM_Alert_Look_Loop_v02_anm
-19 Trl_BM_Alert_Look_Start_Fwd_anm
-20 Trl_BM_Alert_Look_Turn_InPlace_A_anm
-21 Trl_BM_Alert_Look_Turn_InPlace_B_anm
-22 Trl_BM_Alert_Walk_Loop_Fwd_anm
-23 Trl_BM_Alert_Walk_Loop_Fwd_End_anm
-24 Trl_BM_Alert_Walk_Loop_Fwd_Start_anm
-25 Trl_BM_Idle_01_Face_anm
-26 Trl_BM_Idle_Break_01_anm
-27 Trl_BM_Idle_Break_01_Face_anm
-28 Trl_BM_Idle_Break_02_anm
-29 Trl_BM_Idle_Break_02_Face_anm
-30 Trl_BM_Idle_Break_03_anm
-31 Trl_BM_Idle_Break_04_anm
-32 Trl_BM_Lean_0_anm
-33 Trl_BM_LF_Idle_anm
-34 Trl_BM_LF_Walk_Turn_Start_Lft_135_anm
-35 Trl_BM_LF_Walk_Turn_Start_Lft_180_anm
-36 Trl_BM_LF_Walk_Turn_Start_Lft_45_anm
-37 Trl_BM_LF_Walk_Turn_Start_Lft_90_anm
-38 Trl_BM_LF_Walk_Turn_Start_Rht_135_anm
-39 Trl_BM_LF_Walk_Turn_Start_Rht_180_anm
-40 Trl_BM_LF_Walk_Turn_Start_Rht_45_anm
-41 Trl_BM_LF_Walk_Turn_Start_Rht_90_anm
-42 Trl_BM_Walk_Loop_Fwd_End_Wander_anm
-43 Trl_BM_Walk_Loop_Fwd_Lft_45_Wander_anm
-44 Trl_BM_Walk_Loop_Fwd_Rht_45_Wander_anm
-45 Trl_BM_Walk_Loop_Fwd_Start_Wander_anm
-46 Trl_BM_Walk_Loop_Fwd_Wander_anm
-47 Trl_Cmbt_Atk_01_Face_anm
-48 Trl_Cmbt_Atk_02_Face_anm
-49 Trl_Cmbt_Atk_03_Face_anm
-50 Trl_Cmbt_Atk_Charge_Check_anm
-51 Trl_Cmbt_Atk_Charge_Knee_End_anm
-52 Trl_Cmbt_Atk_Charge_Knee_Loop_anm
-53 Trl_Cmbt_Atk_Charge_Knee_Start_anm
-54 Trl_Cmbt_Atk_Charge_Loop_anm
-55 Trl_Cmbt_Atk_Charge_Start_anm
-56 Trl_Cmbt_Atk_Charge_Stop_RU_anm
-57 Trl_Cmbt_Atk_Charge_Stop_Turn_Lft_anm
-58 Trl_Cmbt_Atk_Charge_Stop_Turn_Rht_anm
-59 Trl_Cmbt_Atk_Charge_Stumble_Fwd_anm
-60 Trl_Cmbt_Atk_Charge_Stun_anm
-61 Trl_Cmbt_Atk_Hop_Bckhnd_RU_anm
-62 Trl_Cmbt_Atk_Hop_Forhnd_LU_anm
-63 Trl_Cmbt_Atk_LF_Stomp_Bck_anm
-64 Trl_Cmbt_Atk_LF_Stomp_Fwd_anm
-65 Trl_Cmbt_Atk_LF_Stomp_Lft_anm
-66 Trl_Cmbt_Atk_Overhead_Slam_anm
-67 Trl_Cmbt_Atk_Overhead_Slam_BckHnd_anm
-68 Trl_Cmbt_Atk_Overhead_Slam_Jog_anm
-69 Trl_Cmbt_Atk_Overhead_Slam_Lft_180_anm
-70 Trl_Cmbt_Atk_Overhead_Slam_Lft_90_anm
-71 Trl_Cmbt_Atk_Overhead_Slam_Rht_180_anm
-72 Trl_Cmbt_Atk_Overhead_Slam_Rht_90_anm
-73 Trl_Cmbt_Atk_RF_Stomp_Rht_anm
-74 Trl_cmbt_Atk_RockThrow_Fwd_anm
-75 Trl_Cmbt_Atk_RockThrow_Lft_anm
-76 Trl_Cmbt_Atk_RockThrow_Rht_anm
-77 Trl_Cmbt_Atk_Rockthrow_Start_anm
-78 Trl_Cmbt_Atk_StepBack_Swing_Fwd_anm
-79 Trl_Cmbt_Atk_StepSwing_Fwd_BckHnd_anm
-80 Trl_Cmbt_Atk_StepSwing_Fwd_BckHnd_Splt_anm
-81 Trl_Cmbt_Atk_StepSwing_Fwd_ForHnd_anm
-82 Trl_Cmbt_Atk_StepSwing_Fwd_ForHnd_Splt_anm
-83 Trl_Cmbt_Atk_StepSwing_Lft_180_BckHnd_anm
-84 Trl_Cmbt_Atk_StepSwing_Lft_90_BckHnd_anm
-85 Trl_Cmbt_Atk_StepSwing_Rht_180_ForHnd_Splt_anm
-86 Trl_Cmbt_Atk_StepSwing_Rht_90_ForHnd_anm
-87 Trl_Cmbt_Atk_Swing_Fwd_anm
-88 Trl_Cmbt_Atk_Swing_Fwd_BckHnd_anm
-89 Trl_Cmbt_Atk_Swing_Fwd_BckHnd_Jog_anm
-90 Trl_Cmbt_Atk_Swing_Fwd_BckHnd_Splt_anm
-91 Trl_Cmbt_Atk_Swing_Fwd_Jog_anm
-92 Trl_Cmbt_Atk_Swing_Fwd_Splt_anm
-93 Trl_Cmbt_Atk_Swing_Lft_anm
-94 Trl_Cmbt_Atk_Swing_Rht_anm
-95 Trl_Cmbt_Atk_Swipe_anm
-96 Trl_Cmbt_Atk_Swipe_Lft_180_anm
-97 Trl_Cmbt_Atk_Swipe_Lft_90_anm
-98 Trl_Cmbt_Atk_Swipe_Rht_90_anm
-99 Trl_Cmbt_Atk_Tantrum_01_anm
-100 Trl_Cmbt_Atk_Tantrum_02_anm
-101 Trl_Cmbt_Idle_01_anm
-102 Trl_Cmbt_idle_01_Face_anm
-103 Trl_Cmbt_Jog_Loop_Fwd_anm
-104 Trl_Cmbt_Jog_Start_Fwd_anm
-105 Trl_Cmbt_Jog_Turn_Start_Lft_135_anm
-106 Trl_Cmbt_Jog_Turn_Start_Lft_180_anm
-107 Trl_Cmbt_Jog_Turn_Start_Lft_45_anm
-108 Trl_Cmbt_Jog_Turn_Start_Lft_90_anm
-109 Trl_Cmbt_Jog_Turn_Start_Rht_135_anm
-110 Trl_Cmbt_Jog_Turn_Start_Rht_180_anm
-111 Trl_Cmbt_Jog_Turn_Start_Rht_45_anm
-112 Trl_Cmbt_Jog_Turn_Start_Rht_90_anm
-113 Trl_Cmbt_LF_Idle_Turn_Lft_135_anm
-114 Trl_Cmbt_LF_Idle_Turn_Lft_180_anm
-115 Trl_Cmbt_LF_Idle_Turn_Lft_45_anm
-116 Trl_Cmbt_LF_Idle_Turn_Lft_90_anm
-117 Trl_Cmbt_LF_Idle_Turn_Rht_135_anm
-118 Trl_Cmbt_LF_Idle_Turn_Rht_180_anm
-119 Trl_Cmbt_LF_Idle_Turn_Rht_45_anm
-120 Trl_Cmbt_LF_Idle_Turn_Rht_90_anm
-121 Trl_Cmbt_Look_Lft_anm
-122 Trl_Cmbt_Look_Rht_anm
-123 Trl_Cmbt_OverHead_Slam_Taunt_01_anm
-124 Trl_Cmbt_OverHead_Slam_Taunt_02_anm
-125 Trl_Cmbt_Rct_Death_01_Face_anm
-126 Trl_Cmbt_Rct_Death_02_Face_anm
-127 Trl_Cmbt_Rct_Flinch_Charge_anm
-128 Trl_Cmbt_Rct_Hit_01_Face_anm
-129 Trl_Cmbt_Rct_Hit_02_Face_anm
-130 Trl_Cmbt_Rct_Hit_03_Face_anm
-131 Trl_Cmbt_Rct_Mandrake_Loop_anm
-132 Trl_Cmbt_Rct_Mandrake_Start_anm
-133 Trl_Cmbt_Rct_Mandrake_Stop_anm
-134 Trl_Cmbt_Roar_01_Face_anm
-135 Trl_Cmbt_Roar_02_Face_anm
-136 Trl_Cmbt_Roar_03_Face_anm
-137 Trl_Cmbt_Spawn_Ink_02_anm
-138 Trl_Cmbt_Spawn_Ink_anm
-139 Trl_Cmbt_Spwn_Breakthrough_01_anm
-140 Trl_Cmbt_Spwn_Breakthrough_02_anm
-141 Trl_Cmbt_Taunt_Fwd_05_anm
-142 Trl_Cmbt_Taunt_Fwd_06_anm
-143 Trl_Cmbt_Taunt_Fwd_07_anm
-144 Trl_Cmbt_Taunt_Fwd_08_anm
-145 Trl_Cmbt_Taunt_Fwd_09_anm
-146 Trl_Cmbt_Taunt_Lft_135_anm
-147 Trl_Cmbt_Taunt_Lft_180_anm
-148 Trl_Cmbt_Taunt_Lft_45_07_anm
-149 Trl_Cmbt_Taunt_Lft_90_07_anm
-150 Trl_Cmbt_Taunt_Lft_90_anm
-151 Trl_Cmbt_Taunt_Rht_135_anm
-152 Trl_Cmbt_Taunt_Rht_180_anm
-153 Trl_Cmbt_Taunt_Rht_45_07_anm
-154 Trl_Cmbt_Taunt_Rht_90_07_anm
-155 Trl_Cmbt_Taunt_Rht_90_anm
-156 Trl_Rct_Club_Face_anm
-157 Trl_Rct_Club_Face_End_anm
-158 Trl_Rct_Dazed_End_anm
-159 Trl_Rct_Dazed_Loop_anm
-160 Trl_Rct_Dazed_Start_anm
-161 Trl_Rct_Hitch_Bwd_Add_anm
-162 Trl_Rct_Hitch_Fwd_Add_anm
-163 Trl_Rct_Hitch_Lft_Add_anm
-164 Trl_Rct_Hitch_Rht_Add_anm
-165 Trl_Rct_KnckDn_Bck_anm
-166 Trl_Rct_Spell_Petrificus_Start_anm
-167 Trl_Rct_Stumble_Bck_02_anm
-168 Trl_Rct_Stumble_Bck_03_anm
-169 Trl_Rct_Stumble_Bck_04_anm
-170 Trl_Rct_Stumble_Fwd_anm
-171 Trl_Rct_Stumble_Lft_anm
-172 Trl_Rct_Stumble_Rht_anm
-173 Trl_STN_Grnd_Sleep_End_v01_anm
+0 CCL_Activity_WandSelection_Clip10_Ollivander_anm
+1 CCL_Activity_WandSelection_Clip11_Ollivander_anm
+2 CCL_Activity_WandSelection_Clip12_Ollivander_anm
+3 CCL_Activity_WandSelection_Clip13_Ollivander_anm
+4 CCL_Activity_WandSelection_Clip1_Ollivander_anm
+5 CCL_Activity_WandSelection_Clip21_Ollivander_anm
+6 CCL_Activity_WandSelection_Clip23_Ollivander_anm
+7 CCL_Activity_WandSelection_Clip24_Ollivander_anm
+8 CCL_Activity_WandSelection_Clip25_Ollivander_anm
+9 CCL_Activity_WandSelection_Clip26_Ollivander_anm
+10 CCL_Activity_WandSelection_Clip28_Ollivander_anm
+11 CCL_Activity_WandSelection_Clip29_Ollivander_anm
+12 CCL_Activity_WandSelection_Clip2_Ollivander_anm
+13 CCL_Activity_WandSelection_Clip3_Ollivander_anm
+14 CCL_Activity_WandSelection_Clip4_Ollivander_anm
+15 CCL_Activity_WandSelection_Clip5_Ollivander_anm
+16 CCL_Activity_WandSelection_Clip6_Ollivander_anm
+17 CCL_Activity_WandSelection_Clip7_Ollivander_anm
+18 CCL_Activity_WandSelection_Clip8_Ollivander_anm
+19 CCL_Activity_WandSelection_Clip9_Ollivander_anm
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Potion/SM_Bottle_EmptyCapOff.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Potion/SM_Bottle_EmptyCapOff.bin
new file mode 100644
index 000000000..3bf94078e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Object/Potion/SM_Bottle_EmptyCapOff.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9f1494c242f4b9eff1a15b759e0ac6d48b58c529e88c53ba59e0e58dff688607
+size 160154
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index 13fc18866..2e138f5c9 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -2130,6 +2130,12 @@ HRESULT CLoader::Loading_For_ObjectViewer()
vector*>> futures = {};
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_SM_Bottle_EmptyCapOff_Model"),
+ CModel::Create(m_pDevice, m_pContext, MODEL::NONANIM_LOCAL, "C:/MeshTable\\Game\\Cinematics\\Props\\SM_Bottle_EmptyCapOff.fbx", XMMatrixIdentity())))) {
+ return E_FAIL;
+ }
+
+
#pragma region BODY
futures.emplace_back(Deferred_ModelLoad(
diff --git a/Jusin154_Team3D/Jusin154_Team3D.sln b/Jusin154_Team3D/Jusin154_Team3D.sln
index 78e5e4dca..08c3e18a8 100644
--- a/Jusin154_Team3D/Jusin154_Team3D.sln
+++ b/Jusin154_Team3D/Jusin154_Team3D.sln
@@ -61,7 +61,6 @@ Global
{F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Debug|x86.ActiveCfg = Debug|Win32
{F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Debug|x86.Build.0 = Debug|Win32
{F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x64.ActiveCfg = Release|x64
- {F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x64.Build.0 = Release|x64
{F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x86.ActiveCfg = Release|Win32
{F91AD988-A0C8-4169-AA7D-A7596A403CFF}.Release|x86.Build.0 = Release|Win32
{2133313A-E5E1-41CD-B976-21753FBCD083}.Debug|x64.ActiveCfg = Debug|x64