@@ -68,7 +68,7 @@ HRESULT CEffectPool::Initialize(void* pArg)
|
|||||||
// 디버그 모드일 때
|
// 디버그 모드일 때
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#ifdef gimch
|
#ifdef gimch
|
||||||
m_isActiveEffectCreate = false;
|
m_isActiveEffectCreate = true;
|
||||||
m_isActiveMonsterEffectCreate = false;
|
m_isActiveMonsterEffectCreate = false;
|
||||||
#endif // gimch
|
#endif // gimch
|
||||||
#ifdef Bin
|
#ifdef Bin
|
||||||
|
|||||||
@@ -331,6 +331,11 @@ HRESULT CInfoInstance::Deregist_ActiveInteractive(CMapElement_Interactable* pInt
|
|||||||
return m_pInteractiveInfo->Deregist_ActiveInteractive(pInteractive);
|
return m_pInteractiveInfo->Deregist_ActiveInteractive(pInteractive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT CInfoInstance::ActiveAt_Interactive(_fvector vPosition)
|
||||||
|
{
|
||||||
|
return m_pInteractiveInfo->ActiveAt_Interactive(vPosition);
|
||||||
|
}
|
||||||
|
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
LEVEL CInfoInstance::Get_RestartLevel()
|
LEVEL CInfoInstance::Get_RestartLevel()
|
||||||
{
|
{
|
||||||
@@ -386,6 +391,14 @@ HRESULT CInfoInstance::Initialize_Information(ID3D11Device* pDevice, ID3D11Devic
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT CInfoInstance::Late_Initialize()
|
||||||
|
{
|
||||||
|
if (FAILED(m_pInteractiveInfo->Ready_PoolingInteractive()))
|
||||||
|
return E_FAIL;
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT CInfoInstance::Stat_FileLoad(const _char* pDirectoryPath)
|
HRESULT CInfoInstance::Stat_FileLoad(const _char* pDirectoryPath)
|
||||||
{
|
{
|
||||||
filesystem::path pathStatFile = pDirectoryPath;
|
filesystem::path pathStatFile = pDirectoryPath;
|
||||||
|
|||||||
@@ -14,6 +14,19 @@ CInteractiveInfo::CInteractiveInfo()
|
|||||||
void CInteractiveInfo::Update(_float fTimeDelta)
|
void CInteractiveInfo::Update(_float fTimeDelta)
|
||||||
{
|
{
|
||||||
Refresh_LockOnTarget();
|
Refresh_LockOnTarget();
|
||||||
|
|
||||||
|
auto iter = m_PoolingActiveInteractive.begin();
|
||||||
|
|
||||||
|
for (; iter != m_PoolingActiveInteractive.end();)
|
||||||
|
{
|
||||||
|
if (false == (*iter)->Get_Visible())
|
||||||
|
{
|
||||||
|
m_PoolingInteractive.push_back(*iter);
|
||||||
|
iter = m_PoolingActiveInteractive.erase(iter);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
++iter;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
void CInteractiveInfo::Change_Level()
|
void CInteractiveInfo::Change_Level()
|
||||||
{
|
{
|
||||||
@@ -110,6 +123,112 @@ HRESULT CInteractiveInfo::Refresh_LockOnTarget()
|
|||||||
}
|
}
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT CInteractiveInfo::Ready_PoolingInteractive()
|
||||||
|
{
|
||||||
|
tinyxml2::XMLDocument xmlDoc;
|
||||||
|
|
||||||
|
string strPath = "../Bin/Resources/Data/Map/Interactable/E_INTER_EffectObejct.xml";
|
||||||
|
|
||||||
|
if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str())))
|
||||||
|
return E_FAIL;
|
||||||
|
|
||||||
|
tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("Element_Interactable");
|
||||||
|
|
||||||
|
if (nullptr == root)
|
||||||
|
{
|
||||||
|
MSG_BOX("Failed to Find root");
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object"))
|
||||||
|
{
|
||||||
|
CMapElement_Interactable::ELEMENT_INTERACTABLE_DESC Desc = {};
|
||||||
|
|
||||||
|
/* Model Prototypes */
|
||||||
|
Desc.isPooled = true;
|
||||||
|
Object->QueryUnsignedAttribute("Lod_Level", &Desc.iMaxLodLevel);
|
||||||
|
Object->QueryUnsignedAttribute("ID", &Desc.iInteractableID);
|
||||||
|
|
||||||
|
string strTag = {};
|
||||||
|
for (auto* PrototypeTag = Object->FirstChildElement("PrototypeTag"); PrototypeTag; PrototypeTag = PrototypeTag->NextSiblingElement("PrototypeTag"))
|
||||||
|
{
|
||||||
|
strTag = PrototypeTag->GetText();
|
||||||
|
|
||||||
|
Desc.ModelPrototypeTags.push_back(CMyTools::ToWstring(strTag));
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Transform */
|
||||||
|
auto* Position = Object->FirstChildElement("Position");
|
||||||
|
Position->QueryFloatAttribute("x", &Desc.vPosition.x);
|
||||||
|
Position->QueryFloatAttribute("y", &Desc.vPosition.y);
|
||||||
|
Position->QueryFloatAttribute("z", &Desc.vPosition.z);
|
||||||
|
|
||||||
|
auto* Scale = Object->FirstChildElement("Scale");
|
||||||
|
Scale->QueryFloatAttribute("x", &Desc.vScale.x);
|
||||||
|
Scale->QueryFloatAttribute("y", &Desc.vScale.y);
|
||||||
|
Scale->QueryFloatAttribute("z", &Desc.vScale.z);
|
||||||
|
|
||||||
|
auto* Rotation = Object->FirstChildElement("Rotation");
|
||||||
|
Rotation->QueryFloatAttribute("x", &Desc.vRotation.x);
|
||||||
|
Rotation->QueryFloatAttribute("y", &Desc.vRotation.y);
|
||||||
|
Rotation->QueryFloatAttribute("z", &Desc.vRotation.z);
|
||||||
|
|
||||||
|
auto* HalfGeometryInfo = Object->FirstChildElement("HalfGeometryInfo");
|
||||||
|
HalfGeometryInfo->QueryFloatAttribute("x", &Desc.vBoxSize.x);
|
||||||
|
HalfGeometryInfo->QueryFloatAttribute("y", &Desc.vBoxSize.y);
|
||||||
|
HalfGeometryInfo->QueryFloatAttribute("z", &Desc.vBoxSize.z);
|
||||||
|
|
||||||
|
auto* LocalTranslation = Object->FirstChildElement("LocalTranslation");
|
||||||
|
LocalTranslation->QueryFloatAttribute("x", &Desc.vBoxLocalPosition.x);
|
||||||
|
LocalTranslation->QueryFloatAttribute("y", &Desc.vBoxLocalPosition.y);
|
||||||
|
LocalTranslation->QueryFloatAttribute("z", &Desc.vBoxLocalPosition.z);
|
||||||
|
|
||||||
|
CMapElement_Interactable* pInteractable = { nullptr };
|
||||||
|
|
||||||
|
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CMapElement_Interactable>(g_iStaticLevel, NEXT_LEVEL, LAYER_INTERACTABLE, &Desc,nullptr, &pInteractable)))
|
||||||
|
return E_FAIL;
|
||||||
|
|
||||||
|
if (nullptr != pInteractable)
|
||||||
|
{
|
||||||
|
m_PoolingInteractive.push_back(pInteractable);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT CInteractiveInfo::ActiveAt_Interactive(_fvector vPosition)
|
||||||
|
{
|
||||||
|
_uint iSize = (_uint)m_PoolingInteractive.size();
|
||||||
|
|
||||||
|
_uint iRandomIndex = m_pGameInstance->Real_Random_Int(0, max(0, iSize - 1));
|
||||||
|
|
||||||
|
_uint iIndex = {};
|
||||||
|
|
||||||
|
auto iter = m_PoolingInteractive.begin();
|
||||||
|
|
||||||
|
for (; iter != m_PoolingInteractive.end();)
|
||||||
|
{
|
||||||
|
if (iIndex == iRandomIndex)
|
||||||
|
{
|
||||||
|
(*iter)->ActivateAt(vPosition);
|
||||||
|
m_PoolingActiveInteractive.push_back(*iter);
|
||||||
|
iter = m_PoolingInteractive.erase(iter);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
++iter;
|
||||||
|
++iIndex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT CInteractiveInfo::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex)
|
HRESULT CInteractiveInfo::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex)
|
||||||
{
|
{
|
||||||
m_pGameInstance = CGameInstance::GetInstance();
|
m_pGameInstance = CGameInstance::GetInstance();
|
||||||
@@ -145,6 +264,15 @@ void CInteractiveInfo::Free()
|
|||||||
SAFE_RELEASE(pInteractive);
|
SAFE_RELEASE(pInteractive);
|
||||||
} m_ActiveInteractive.clear();
|
} m_ActiveInteractive.clear();
|
||||||
|
|
||||||
|
for (CMapElement_Interactable* pInteractive : m_PoolingInteractive) {
|
||||||
|
SAFE_RELEASE(pInteractive);
|
||||||
|
} m_ActiveInteractive.clear();
|
||||||
|
|
||||||
|
for (CMapElement_Interactable* pInteractive : m_PoolingActiveInteractive) {
|
||||||
|
SAFE_RELEASE(pInteractive);
|
||||||
|
} m_ActiveInteractive.clear();
|
||||||
|
|
||||||
|
|
||||||
SAFE_RELEASE(m_pGameInstance);
|
SAFE_RELEASE(m_pGameInstance);
|
||||||
SAFE_RELEASE(m_pInfoInstance);
|
SAFE_RELEASE(m_pInfoInstance);
|
||||||
SAFE_RELEASE(m_pDevice);
|
SAFE_RELEASE(m_pDevice);
|
||||||
|
|||||||
@@ -85,6 +85,8 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
|||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(FAILED(m_pInfoInstance->Late_Initialize()))
|
||||||
|
return E_FAIL;
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
@@ -249,8 +251,8 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
|||||||
|
|
||||||
#ifdef gimch
|
#ifdef gimch
|
||||||
isReady_Background = true;
|
isReady_Background = true;
|
||||||
isReady_Hogsmeade = false;
|
isReady_Hogsmeade = true;
|
||||||
isReady_Hogwart = true;
|
isReady_Hogwart = false;
|
||||||
#endif // gimch
|
#endif // gimch
|
||||||
#ifdef Bin
|
#ifdef Bin
|
||||||
isReady_Background = false;
|
isReady_Background = false;
|
||||||
|
|||||||
@@ -338,8 +338,8 @@ HRESULT CLoader::Loading_For_GamePlay()
|
|||||||
_bool isLoad_Hogwart = { false };
|
_bool isLoad_Hogwart = { false };
|
||||||
|
|
||||||
#ifdef gimch
|
#ifdef gimch
|
||||||
isLoad_Background = false;
|
isLoad_Background = true;
|
||||||
isLoad_Hogwart = true;
|
isLoad_Hogwart = false;
|
||||||
#endif // gimch
|
#endif // gimch
|
||||||
#ifdef Bin
|
#ifdef Bin
|
||||||
isLoad_Background = false;
|
isLoad_Background = false;
|
||||||
@@ -401,6 +401,33 @@ HRESULT CLoader::Loading_For_GamePlay()
|
|||||||
".bin", false
|
".bin", false
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
/* Interactable */
|
||||||
|
{/* Barrel */
|
||||||
|
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||||
|
"../Bin/Resources/Models/MapMesh/Game/Environment/Objects/Meshes",
|
||||||
|
".bin", false
|
||||||
|
));
|
||||||
|
/* Box */
|
||||||
|
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||||
|
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/MiscProps",
|
||||||
|
".bin", false
|
||||||
|
));
|
||||||
|
/* TeaShop Table */
|
||||||
|
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||||
|
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Tables",
|
||||||
|
".bin", false
|
||||||
|
));
|
||||||
|
/* TeaShop Chair*/
|
||||||
|
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||||
|
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Chairs",
|
||||||
|
".bin", false
|
||||||
|
));
|
||||||
|
/* Object Interactables (Chest)*/
|
||||||
|
jobMapModels.emplace_back(Deferred_FolderLoad(
|
||||||
|
"../Bin/Resources/Models/MapMesh/Game/Environment/Objects/Interactables",
|
||||||
|
".bin", false
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
if (true == isLoad_Background)
|
if (true == isLoad_Background)
|
||||||
{
|
{
|
||||||
@@ -632,32 +659,6 @@ HRESULT CLoader::Loading_For_GamePlay()
|
|||||||
".bin", false
|
".bin", false
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
{/* Barrel */
|
|
||||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
|
||||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Objects/Meshes",
|
|
||||||
".bin", false
|
|
||||||
));
|
|
||||||
/* Box */
|
|
||||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
|
||||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/MiscProps",
|
|
||||||
".bin", false
|
|
||||||
));
|
|
||||||
/* TeaShop Table */
|
|
||||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
|
||||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Tables",
|
|
||||||
".bin", false
|
|
||||||
));
|
|
||||||
/* TeaShop Chair*/
|
|
||||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
|
||||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Hogsmeade/Common/Meshes/Chairs",
|
|
||||||
".bin", false
|
|
||||||
));
|
|
||||||
/* Object Interactables (Chest)*/
|
|
||||||
jobMapModels.emplace_back(Deferred_FolderLoad(
|
|
||||||
"../Bin/Resources/Models/MapMesh/Game/Environment/Objects/Interactables",
|
|
||||||
".bin", false
|
|
||||||
));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------ HOGWART ------------------------------- */
|
/* ------------------------------------ HOGWART ------------------------------- */
|
||||||
|
|||||||
@@ -33,25 +33,8 @@ HRESULT CMapElement_Interactable::Initialize(void* pArg)
|
|||||||
m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]);
|
m_ModelPrototypeTags.push_back(pDesc->ModelPrototypeTags[i]);
|
||||||
//m_ModelPathIndices.push_back((*pDesc->pModelPathIndices)[i]);
|
//m_ModelPathIndices.push_back((*pDesc->pModelPathIndices)[i]);
|
||||||
}
|
}
|
||||||
|
m_isPooled = pDesc->isPooled;
|
||||||
if (m_ModelPrototypeTags[0] == L"Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo")
|
m_eInteractableID = static_cast<ELEMENT_INTERACTABLE_ID>(pDesc->iInteractableID);
|
||||||
{
|
|
||||||
m_eInteractableID = ELEMENT_INTERACTABLE_ID::BARREL;
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (m_ModelPrototypeTags[0] == L"Prototype_GameObject_SM_HM_OwlPost_Package_B")
|
|
||||||
{
|
|
||||||
m_eInteractableID = ELEMENT_INTERACTABLE_ID::BOX;
|
|
||||||
}
|
|
||||||
else if (m_ModelPrototypeTags[0] == L"Prototype_GameObject_SM_HM_TeaShop_Table_B")
|
|
||||||
{
|
|
||||||
m_eInteractableID = ELEMENT_INTERACTABLE_ID::TABLE;
|
|
||||||
}
|
|
||||||
else if (m_ModelPrototypeTags[0] == L"Prototype_GameObject_SM_HM_TeaShop_Chair_B")
|
|
||||||
{
|
|
||||||
m_eInteractableID = ELEMENT_INTERACTABLE_ID::TABLE;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (FAILED(__super::Initialize(pArg)))
|
if (FAILED(__super::Initialize(pArg)))
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
@@ -78,7 +61,16 @@ HRESULT CMapElement_Interactable::Initialize(void* pArg)
|
|||||||
static_cast<CRigidBody_Dynamic*>(m_pRigidBody)->Move_LocalPos(_float4(0.f, 0.f, 0.f, 0.f), pDesc->vBoxLocalPosition);
|
static_cast<CRigidBody_Dynamic*>(m_pRigidBody)->Move_LocalPos(_float4(0.f, 0.f, 0.f, 0.f), pDesc->vBoxLocalPosition);
|
||||||
//static_cast<CRigidBody_Dynamic*>(m_pRigidBody)->Set_Kinematic(false);
|
//static_cast<CRigidBody_Dynamic*>(m_pRigidBody)->Set_Kinematic(false);
|
||||||
|
|
||||||
m_pInfoInstance->Regist_ActiveInteractive(this);
|
if (false == m_isPooled)
|
||||||
|
{
|
||||||
|
m_bVisible = true;
|
||||||
|
m_pInfoInstance->Regist_ActiveInteractive(this);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_bVisible = false;
|
||||||
|
static_cast<CRigidBody_Dynamic*>(m_pRigidBody)->Set_Kinematic(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object<CEffectPool>();
|
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object<CEffectPool>();
|
||||||
@@ -89,9 +81,12 @@ HRESULT CMapElement_Interactable::Initialize(void* pArg)
|
|||||||
|
|
||||||
void CMapElement_Interactable::Priority_Update(_float fTimeDelta)
|
void CMapElement_Interactable::Priority_Update(_float fTimeDelta)
|
||||||
{
|
{
|
||||||
_float fRadius = m_pModelComs[0]->Get_Radius();
|
if(m_bVisible)
|
||||||
|
{
|
||||||
|
_float fRadius = m_pModelComs[0]->Get_Radius();
|
||||||
|
|
||||||
XMStoreFloat4(&m_vStartPos, Get_WorldPostion() + XMVectorSet(0.f , fRadius , 0.f , 0.f ));
|
XMStoreFloat4(&m_vStartPos, Get_WorldPostion() + XMVectorSet(0.f, fRadius, 0.f, 0.f));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -102,23 +97,25 @@ void CMapElement_Interactable::Update(_float fTimeDelta)
|
|||||||
|
|
||||||
void CMapElement_Interactable::Late_Update(_float fTimeDelta)
|
void CMapElement_Interactable::Late_Update(_float fTimeDelta)
|
||||||
{
|
{
|
||||||
|
if (m_bVisible)
|
||||||
if (m_isGraped == true)
|
|
||||||
{
|
{
|
||||||
_float fRadius = m_pModelComs[0]->Get_Radius();
|
if (m_isGraped == true)
|
||||||
|
{
|
||||||
|
_float fRadius = m_pModelComs[0]->Get_Radius();
|
||||||
|
|
||||||
if (false == m_bHit) {
|
if (false == m_bHit) {
|
||||||
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
|
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
|
||||||
_vector vEndPos = Get_WorldPostion() + XMVectorSet(0.f, fRadius, 0.f, 0.f);
|
_vector vEndPos = Get_WorldPostion() + XMVectorSet(0.f, fRadius, 0.f, 0.f);
|
||||||
ON_COLLISION_INFO CollisionInfo = CollisionCheck(vStartPos, vEndPos, 1.f);
|
ON_COLLISION_INFO CollisionInfo = CollisionCheck(vStartPos, vEndPos, 1.f);
|
||||||
|
|
||||||
if (m_bHit == true)
|
if (m_bHit == true)
|
||||||
OnCollision(this, &CollisionInfo);
|
OnCollision(this, &CollisionInfo);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
if (m_pGameInstance->IsIn_WorldFrustum(Get_WorldPostion(), m_pModelComs[0]->Get_Radius())) {
|
||||||
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -191,19 +188,26 @@ void CMapElement_Interactable::OnCollision(CGameObject* pOther, void* pDesc)
|
|||||||
case Client::ELEMENT_INTERACTABLE_ID::TABLE:
|
case Client::ELEMENT_INTERACTABLE_ID::TABLE:
|
||||||
m_pEffectPool->Use_Skill(SKILL_TYPE::CHAIL_SPLESH, this);
|
m_pEffectPool->Use_Skill(SKILL_TYPE::CHAIL_SPLESH, this);
|
||||||
break;
|
break;
|
||||||
|
case Client::ELEMENT_INTERACTABLE_ID::CHAIR:
|
||||||
|
m_pEffectPool->Use_Skill(SKILL_TYPE::CHAIL_SPLESH, this);
|
||||||
|
break;
|
||||||
case Client::ELEMENT_INTERACTABLE_ID::END:
|
case Client::ELEMENT_INTERACTABLE_ID::END:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_isPooled)
|
||||||
|
{
|
||||||
Set_Dead();
|
m_bVisible = false;
|
||||||
|
static_cast<CRigidBody_Dynamic*>(m_pRigidBody)->Set_Kinematic(true);
|
||||||
|
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -999.f, 0.f, 1.f));
|
||||||
|
m_pInfoInstance->Deregist_ActiveInteractive(this);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
Set_Dead();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
HRESULT CMapElement_Interactable::Ready_Components(void* pArg)
|
HRESULT CMapElement_Interactable::Ready_Components(void* pArg)
|
||||||
{
|
{
|
||||||
if (FAILED(__super::Ready_Components(pArg))) {
|
if (FAILED(__super::Ready_Components(pArg))) {
|
||||||
@@ -328,6 +332,15 @@ void CMapElement_Interactable::Set_KinematicFlag(_bool bFlag)
|
|||||||
m_pRigidBody->Set_Kinematic(bFlag);
|
m_pRigidBody->Set_Kinematic(bFlag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CMapElement_Interactable::ActivateAt(_fvector vPos)
|
||||||
|
{
|
||||||
|
m_bVisible = true;
|
||||||
|
m_pTransformCom->Set_State(STATE::POSITION, vPos);
|
||||||
|
m_pInfoInstance->Regist_ActiveInteractive(this);
|
||||||
|
m_pRigidBody->Set_Kinematic(false);
|
||||||
|
m_pRigidBody->Set_Position(vPos);
|
||||||
|
}
|
||||||
|
|
||||||
ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _fvector EndPos, _float fRadius)
|
ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _fvector EndPos, _float fRadius)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -392,8 +405,6 @@ ON_COLLISION_INFO CMapElement_Interactable::CollisionCheck(_fvector StartPos, _f
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bHit == false)
|
if (bHit == false)
|
||||||
|
|||||||
@@ -422,8 +422,9 @@ HRESULT CMapInfo::Load_InteractableElements(const _char* pFileName, const _wchar
|
|||||||
CMapElement_Interactable::ELEMENT_INTERACTABLE_DESC Desc = {};
|
CMapElement_Interactable::ELEMENT_INTERACTABLE_DESC Desc = {};
|
||||||
|
|
||||||
/* Model Prototypes */
|
/* Model Prototypes */
|
||||||
|
Desc.isPooled = false;
|
||||||
Object->QueryUnsignedAttribute("Lod_Level", &Desc.iMaxLodLevel);
|
Object->QueryUnsignedAttribute("Lod_Level", &Desc.iMaxLodLevel);
|
||||||
Object->QueryUnsignedAttribute("Lod_Level", &Desc.iInteractableID);
|
Object->QueryUnsignedAttribute("ID", &Desc.iInteractableID);
|
||||||
|
|
||||||
string strTag = {};
|
string strTag = {};
|
||||||
for (auto* PrototypeTag = Object->FirstChildElement("PrototypeTag"); PrototypeTag; PrototypeTag = PrototypeTag->NextSiblingElement("PrototypeTag"))
|
for (auto* PrototypeTag = Object->FirstChildElement("PrototypeTag"); PrototypeTag; PrototypeTag = PrototypeTag->NextSiblingElement("PrototypeTag"))
|
||||||
|
|||||||
@@ -216,13 +216,15 @@ void CTransformation::OnCollision(CGameObject* pOther, void* pDesc)
|
|||||||
|
|
||||||
XMStoreFloat4(&vCCTPos , pCCT->Get_Position());
|
XMStoreFloat4(&vCCTPos , pCCT->Get_Position());
|
||||||
|
|
||||||
PSX::PxTransform pxTransform((_float)vCCTPos.x, (_float)vCCTPos.y + 100.f, (_float)vCCTPos.z);
|
//PSX::PxTransform pxTransform((_float)vCCTPos.x, (_float)vCCTPos.y + 100.f, (_float)vCCTPos.z);
|
||||||
pCCT->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
|
//pCCT->Set_Position(XMLoadFloat3((_float3*)&pxTransform.p));
|
||||||
//m_pCharacter_Controller->Move(fTimeDelta);
|
//m_pCharacter_Controller->Move(fTimeDelta);
|
||||||
|
|
||||||
m_pTransformCom->Set_WorldMatrix(CollisionDesc.pObject->Get_Component<CRigidBody_Dynamic>()->Get_Actor()->getGlobalPose());
|
m_pInfoInstance->ActiveAt_Interactive(XMLoadFloat4(&vCCTPos));
|
||||||
|
|
||||||
pCCT->ConvertToDO(*CollisionDesc.pObject->Get_Component<CRigidBody_Dynamic>());
|
//m_pTransformCom->Set_WorldMatrix(CollisionDesc.pObject->Get_Component<CRigidBody_Dynamic>()->Get_Actor()->getGlobalPose());
|
||||||
|
|
||||||
|
//pCCT->ConvertToDO(*CollisionDesc.pObject->Get_Component<CRigidBody_Dynamic>());
|
||||||
|
|
||||||
|
|
||||||
CEffectParts* pHit_Light = Get_PartObject<CEffectParts>("Hit_Light");
|
CEffectParts* pHit_Light = Get_PartObject<CEffectParts>("Hit_Light");
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ namespace Client
|
|||||||
END
|
END
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class ELEMENT_INTERACTABLE_ID { BARREL, BOX, TABLE, END };
|
enum class ELEMENT_INTERACTABLE_ID { BARREL, BOX, TABLE, CHAIR, END };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ DECLARE_SINGLETON(CInfoInstance)
|
|||||||
virtual ~CInfoInstance() = default;
|
virtual ~CInfoInstance() = default;
|
||||||
public:
|
public:
|
||||||
HRESULT Initialize_Information(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
HRESULT Initialize_Information(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
||||||
|
HRESULT Late_Initialize(); // GamePlay Initialize 할 때
|
||||||
void Release_Information();
|
void Release_Information();
|
||||||
LEVEL Get_RestartLevel();
|
LEVEL Get_RestartLevel();
|
||||||
public:
|
public:
|
||||||
@@ -82,6 +83,8 @@ DECLARE_SINGLETON(CInfoInstance)
|
|||||||
#pragma endregion
|
#pragma endregion
|
||||||
HRESULT Regist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
|
HRESULT Regist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
|
||||||
HRESULT Deregist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
|
HRESULT Deregist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
|
||||||
|
|
||||||
|
HRESULT ActiveAt_Interactive(_fvector vPosition);
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
private:
|
private:
|
||||||
CGameInstance* m_pGameInstance = { nullptr };
|
CGameInstance* m_pGameInstance = { nullptr };
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ class CInteractiveInfo final : public CBase
|
|||||||
HRESULT Regist_ActiveInteractive(class CMapElement_Interactable* pUnit);
|
HRESULT Regist_ActiveInteractive(class CMapElement_Interactable* pUnit);
|
||||||
HRESULT Deregist_ActiveInteractive(class CMapElement_Interactable* pUnit);
|
HRESULT Deregist_ActiveInteractive(class CMapElement_Interactable* pUnit);
|
||||||
|
|
||||||
|
HRESULT Ready_PoolingInteractive(); // Ready Pooling
|
||||||
|
HRESULT ActiveAt_Interactive(_fvector vPosition); // Spawn Pooling Object
|
||||||
|
|
||||||
class CMapElement_Interactable* Get_LockOnUnit();
|
class CMapElement_Interactable* Get_LockOnUnit();
|
||||||
private:
|
private:
|
||||||
CGameInstance* m_pGameInstance = { nullptr };
|
CGameInstance* m_pGameInstance = { nullptr };
|
||||||
@@ -33,9 +36,13 @@ class CInteractiveInfo final : public CBase
|
|||||||
class CMapElement_Interactable* m_pLockOnInteractive = { nullptr };
|
class CMapElement_Interactable* m_pLockOnInteractive = { nullptr };
|
||||||
list<class CMapElement_Interactable*> m_ActiveInteractive = {};
|
list<class CMapElement_Interactable*> m_ActiveInteractive = {};
|
||||||
|
|
||||||
|
list<class CMapElement_Interactable*> m_PoolingInteractive = {};
|
||||||
|
list<class CMapElement_Interactable*> m_PoolingActiveInteractive = {};
|
||||||
private:
|
private:
|
||||||
HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
||||||
HRESULT Refresh_LockOnTarget();
|
HRESULT Refresh_LockOnTarget();
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static CInteractiveInfo* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
static CInteractiveInfo* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
||||||
virtual void Free() override;
|
virtual void Free() override;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ class CMapElement_Interactable final : public CMapElement
|
|||||||
public:
|
public:
|
||||||
typedef struct tagElement_Interactable_Desc : MAPELEMENT_DESC
|
typedef struct tagElement_Interactable_Desc : MAPELEMENT_DESC
|
||||||
{
|
{
|
||||||
|
_bool isPooled = {};
|
||||||
_uint iInteractableID = {};
|
_uint iInteractableID = {};
|
||||||
_uint iSubKind = {};
|
_uint iSubKind = {};
|
||||||
_float3 vBoxLocalPosition;
|
_float3 vBoxLocalPosition;
|
||||||
@@ -22,10 +23,10 @@ class CMapElement_Interactable final : public CMapElement
|
|||||||
virtual ~CMapElement_Interactable() = default;
|
virtual ~CMapElement_Interactable() = default;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void Priority_Update(_float fTimeDelta) override;
|
virtual void Priority_Update(_float fTimeDelta) override;
|
||||||
virtual void Update(_float fTimeDelta) override;
|
virtual void Update(_float fTimeDelta) override;
|
||||||
virtual void Late_Update(_float fTimeDelta) override;
|
virtual void Late_Update(_float fTimeDelta) override;
|
||||||
virtual HRESULT Render() override;
|
virtual HRESULT Render() override;
|
||||||
virtual void GrapToPlayer(_fvector vPos, _float fRatio);
|
virtual void GrapToPlayer(_fvector vPos, _float fRatio);
|
||||||
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
|
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
|
||||||
ON_COLLISION_INFO CollisionCheck(_fvector StartPos, _fvector EndPos, _float fRadius);
|
ON_COLLISION_INFO CollisionCheck(_fvector StartPos, _fvector EndPos, _float fRadius);
|
||||||
@@ -33,7 +34,7 @@ class CMapElement_Interactable final : public CMapElement
|
|||||||
virtual void Set_DrawOutLine();
|
virtual void Set_DrawOutLine();
|
||||||
virtual HRESULT Render_OutLine() override;
|
virtual HRESULT Render_OutLine() override;
|
||||||
void Set_KinematicFlag(_bool bFlag);
|
void Set_KinematicFlag(_bool bFlag);
|
||||||
|
void ActivateAt(_fvector vPos); // 풀링 꺼내기, 위치 지정
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ELEMENT_INTERACTABLE_ID m_eInteractableID = { ELEMENT_INTERACTABLE_ID::END };
|
ELEMENT_INTERACTABLE_ID m_eInteractableID = { ELEMENT_INTERACTABLE_ID::END };
|
||||||
@@ -41,6 +42,8 @@ class CMapElement_Interactable final : public CMapElement
|
|||||||
|
|
||||||
class CRigidBody_Dynamic* m_pRigidBody = { nullptr };
|
class CRigidBody_Dynamic* m_pRigidBody = { nullptr };
|
||||||
PSX::PxRigidDynamic* m_pActor = { nullptr };
|
PSX::PxRigidDynamic* m_pActor = { nullptr };
|
||||||
|
|
||||||
|
_bool m_isPooled = { false };
|
||||||
_bool m_bDrawOutLine = { false };
|
_bool m_bDrawOutLine = { false };
|
||||||
_float4 m_vOutLineColor = CMyTools::ColorRGBA_HEXtoFLOAT4(0xfefefe00);
|
_float4 m_vOutLineColor = CMyTools::ColorRGBA_HEXtoFLOAT4(0xfefefe00);
|
||||||
_float m_fOutLineThickness = { 5.f };
|
_float m_fOutLineThickness = { 5.f };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Element_Interactable>
|
<Element_Interactable>
|
||||||
<Object Type="2" ID="1" Lod_Level="0">
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
<Position x="129.81247" y="16.543718" z="134.28247"/>
|
<Position x="129.81247" y="16.543718" z="134.28247"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
||||||
<LocalTranslation x="0" y="0.5" z="0"/>
|
<LocalTranslation x="0" y="0.5" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="1" Lod_Level="0">
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
<Position x="130.88289" y="15.983612" z="128.08716"/>
|
<Position x="130.88289" y="15.983612" z="128.08716"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
||||||
<LocalTranslation x="0" y="0.5" z="0"/>
|
<LocalTranslation x="0" y="0.5" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="1" Lod_Level="0">
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
<Position x="130.11172" y="16.369488" z="133.53946"/>
|
<Position x="130.11172" y="16.369488" z="133.53946"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
||||||
<LocalTranslation x="0" y="0.5" z="0"/>
|
<LocalTranslation x="0" y="0.5" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="1" Lod_Level="0">
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
<Position x="55.396034" y="4.3083305" z="79.496262"/>
|
<Position x="55.396034" y="4.3083305" z="79.496262"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
||||||
<LocalTranslation x="0" y="0.5" z="0"/>
|
<LocalTranslation x="0" y="0.5" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="1" Lod_Level="0">
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
<Position x="56.6394" y="4.2921305" z="79.00148"/>
|
<Position x="56.6394" y="4.2921305" z="79.00148"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
|||||||
@@ -0,0 +1,123 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Element_Interactable>
|
||||||
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
||||||
|
<LocalTranslation x="0" y="0.5" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1.0000204" y="1" z="1.0000204"/>
|
||||||
|
<Rotation x="0" y="135" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="0.99999207" y="1" z="0.99999207"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="0.9999994" y="1" z="0.9999994"/>
|
||||||
|
<Rotation x="-0" y="-22.999996" z="-0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="2" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Table_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
||||||
|
<LocalTranslation x="0" y="0.5" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1.0000204" y="1" z="1.0000204"/>
|
||||||
|
<Rotation x="0" y="135" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="0.99999207" y="1" z="0.99999207"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="0.9999994" y="1" z="0.9999994"/>
|
||||||
|
<Rotation x="-0" y="-22.999996" z="-0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="2" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Table_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="0" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_Prop_Barrel_Breakable_B_Oppungo</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.37" z="0.30000001"/>
|
||||||
|
<LocalTranslation x="0" y="0.5" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1.0000204" y="1" z="1.0000204"/>
|
||||||
|
<Rotation x="0" y="135" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="0.99999207" y="1" z="0.99999207"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="0.9999994" y="1" z="0.9999994"/>
|
||||||
|
<Rotation x="-0" y="-22.999996" z="-0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
|
</Object>
|
||||||
|
<Object Type="2" ID="2" Lod_Level="0">
|
||||||
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Table_B</PrototypeTag>
|
||||||
|
<Position x="0" y="0" z="0"/>
|
||||||
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
<Rotation x="0" y="0" z="0"/>
|
||||||
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
|
</Object>
|
||||||
|
</Element_Interactable>
|
||||||
+7
-7
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Element_Interactable>
|
<Element_Interactable>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
<Position x="108.8686" y="14.881624" z="114.76772"/>
|
<Position x="108.8686" y="14.881624" z="114.76772"/>
|
||||||
<Scale x="1.0000204" y="1" z="1.0000204"/>
|
<Scale x="1.0000204" y="1" z="1.0000204"/>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
<Position x="109.45074" y="14.913768" z="114.48667"/>
|
<Position x="109.45074" y="14.913768" z="114.48667"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
<Position x="104.27048" y="15.26092" z="116.47382"/>
|
<Position x="104.27048" y="15.26092" z="116.47382"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
<Position x="103.42465" y="15.364328" z="115.0511"/>
|
<Position x="103.42465" y="15.364328" z="115.0511"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
<Position x="104.1671" y="15.683837" z="116.41785"/>
|
<Position x="104.1671" y="15.683837" z="116.41785"/>
|
||||||
<Scale x="0.9999882" y="1" z="0.9999882"/>
|
<Scale x="0.9999882" y="1" z="0.9999882"/>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
<Position x="109.21941" y="15.356162" z="114.69065"/>
|
<Position x="109.21941" y="15.356162" z="114.69065"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
<HalfGeometryInfo x="0.23" y="0.23" z="0.2"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.2" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_B</PrototypeTag>
|
||||||
<Position x="109.56142" y="15.268259" z="115.72368"/>
|
<Position x="109.56142" y="15.268259" z="115.72368"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
|
|||||||
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Element_Interactable>
|
<Element_Interactable>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
||||||
<Position x="104.85222" y="15.235958" z="116.2313"/>
|
<Position x="104.85222" y="15.235958" z="116.2313"/>
|
||||||
<Scale x="0.99999207" y="1" z="0.99999207"/>
|
<Scale x="0.99999207" y="1" z="0.99999207"/>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
||||||
<Position x="108.67394" y="15.255487" z="116.1109"/>
|
<Position x="108.67394" y="15.255487" z="116.1109"/>
|
||||||
<Scale x="0.99999863" y="1" z="0.99999863"/>
|
<Scale x="0.99999863" y="1" z="0.99999863"/>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
||||||
<Position x="103.32803" y="15.787835" z="115.04603"/>
|
<Position x="103.32803" y="15.787835" z="115.04603"/>
|
||||||
<Scale x="0.99985278" y="1" z="0.99985278"/>
|
<Scale x="0.99985278" y="1" z="0.99985278"/>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
<HalfGeometryInfo x="0.1" y="0.079999998" z="0.23999999"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.079999998" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="1" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_OwlPost_Package_F</PrototypeTag>
|
||||||
<Position x="108.15715" y="15.239557" z="116.30173"/>
|
<Position x="108.15715" y="15.239557" z="116.30173"/>
|
||||||
<Scale x="0.99999994" y="1" z="0.99999994"/>
|
<Scale x="0.99999994" y="1" z="0.99999994"/>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Element_Interactable>
|
<Element_Interactable>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
<Position x="121.33389" y="15.479295" z="118.72608"/>
|
<Position x="121.33389" y="15.479295" z="118.72608"/>
|
||||||
<Scale x="0.9999994" y="1" z="0.9999994"/>
|
<Scale x="0.9999994" y="1" z="0.9999994"/>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
<Position x="123.10323" y="15.479356" z="118.91245"/>
|
<Position x="123.10323" y="15.479356" z="118.91245"/>
|
||||||
<Scale x="0.99993569" y="1" z="0.99993569"/>
|
<Scale x="0.99993569" y="1" z="0.99993569"/>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
<Position x="120.87086" y="15.479406" z="120.53646"/>
|
<Position x="120.87086" y="15.479406" z="120.53646"/>
|
||||||
<Scale x="0.99985766" y="1" z="0.99985766"/>
|
<Scale x="0.99985766" y="1" z="0.99985766"/>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
<Position x="120.09058" y="15.479147" z="119.38182"/>
|
<Position x="120.09058" y="15.479147" z="119.38182"/>
|
||||||
<Scale x="0.99992603" y="1" z="0.99992603"/>
|
<Scale x="0.99992603" y="1" z="0.99992603"/>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
<Position x="119.52007" y="15.479147" z="120.22794"/>
|
<Position x="119.52007" y="15.479147" z="120.22794"/>
|
||||||
<Scale x="1" y="1" z="1"/>
|
<Scale x="1" y="1" z="1"/>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
<Position x="119.36572" y="15.480341" z="117.24383"/>
|
<Position x="119.36572" y="15.480341" z="117.24383"/>
|
||||||
<Scale x="1.0002052" y="1" z="1.0002052"/>
|
<Scale x="1.0002052" y="1" z="1.0002052"/>
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
<HalfGeometryInfo x="0.30000001" y="0.33000001" z="0.27000001"/>
|
||||||
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
<LocalTranslation x="-0.0099999998" y="0.45500001" z="0"/>
|
||||||
</Object>
|
</Object>
|
||||||
<Object Type="2" ID="2" Lod_Level="0">
|
<Object Type="2" ID="3" Lod_Level="0">
|
||||||
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
<PrototypeTag>Prototype_GameObject_SM_HM_TeaShop_Chair_B</PrototypeTag>
|
||||||
<Position x="118.21121" y="15.479303" z="118.53706"/>
|
<Position x="118.21121" y="15.479303" z="118.53706"/>
|
||||||
<Scale x="0.99999976" y="1" z="0.99999976"/>
|
<Scale x="0.99999976" y="1" z="0.99999976"/>
|
||||||
|
|||||||
@@ -164,6 +164,44 @@ _vector CRigidBody_Dynamic::Get_Position()
|
|||||||
return vPos;
|
return vPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CRigidBody_Dynamic::Set_Position(_vector vPos)
|
||||||
|
{
|
||||||
|
PSX::PxTransform pxTransform = m_pRigidBody->getGlobalPose();
|
||||||
|
pxTransform.p.x = vPos.m128_f32[0];
|
||||||
|
pxTransform.p.y = vPos.m128_f32[1];
|
||||||
|
pxTransform.p.z = vPos.m128_f32[2];
|
||||||
|
Set_Transform(pxTransform);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CRigidBody_Dynamic::Set_Rotation(_vector vRotQ)
|
||||||
|
{
|
||||||
|
PSX::PxTransform pxTransform = m_pRigidBody->getGlobalPose();
|
||||||
|
pxTransform.q.x = vRotQ.m128_f32[0];
|
||||||
|
pxTransform.q.y = vRotQ.m128_f32[1];
|
||||||
|
pxTransform.q.z = vRotQ.m128_f32[2];
|
||||||
|
pxTransform.q.w = vRotQ.m128_f32[3];
|
||||||
|
Set_Transform(pxTransform);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CRigidBody_Dynamic::Set_Transform(_vector vPos, _vector vRotQ)
|
||||||
|
{
|
||||||
|
PSX::PxTransform pxTransform = m_pRigidBody->getGlobalPose();
|
||||||
|
pxTransform.p.x = vPos.m128_f32[0];
|
||||||
|
pxTransform.p.y = vPos.m128_f32[1];
|
||||||
|
pxTransform.p.z = vPos.m128_f32[2];
|
||||||
|
|
||||||
|
pxTransform.q.x = vRotQ.m128_f32[0];
|
||||||
|
pxTransform.q.y = vRotQ.m128_f32[1];
|
||||||
|
pxTransform.q.z = vRotQ.m128_f32[2];
|
||||||
|
pxTransform.q.w = vRotQ.m128_f32[3];
|
||||||
|
Set_Transform(pxTransform);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CRigidBody_Dynamic::Set_Transform(PSX::PxTransform pxTransform)
|
||||||
|
{
|
||||||
|
m_pRigidBody->setGlobalPose(pxTransform);
|
||||||
|
}
|
||||||
|
|
||||||
_float3 CRigidBody_Dynamic::Get_FootPosition()
|
_float3 CRigidBody_Dynamic::Get_FootPosition()
|
||||||
{
|
{
|
||||||
PSX::PxTransform pxTransform = m_pRigidBody->getGlobalPose();
|
PSX::PxTransform pxTransform = m_pRigidBody->getGlobalPose();
|
||||||
|
|||||||
@@ -50,6 +50,10 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
|||||||
void SetActive(_bool bCondition) { m_bActive = bCondition; }
|
void SetActive(_bool bCondition) { m_bActive = bCondition; }
|
||||||
|
|
||||||
_vector Get_Position();
|
_vector Get_Position();
|
||||||
|
void Set_Position(_vector vPos);
|
||||||
|
void Set_Rotation(_vector vRotQ);
|
||||||
|
void Set_Transform(_vector vPos, _vector vRotQ);
|
||||||
|
void Set_Transform(PSX::PxTransform pxTransform);
|
||||||
_float3 Get_FootPosition();
|
_float3 Get_FootPosition();
|
||||||
_float3 Get_HeadPosition();
|
_float3 Get_HeadPosition();
|
||||||
PSX::PxTransform Get_FootPositionPxTransform();
|
PSX::PxTransform Get_FootPositionPxTransform();
|
||||||
|
|||||||
Reference in New Issue
Block a user