@@ -309,10 +309,12 @@ void CMapElement_Chest::Chage_State()
|
||||
|
||||
case CMapElement_Chest::CHEST_STATE::FOUND:
|
||||
m_iShaderPass_Index = 21; //ENUM_CLASS(SHADER_PASS_MESH::DEFAULT);
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::CHEST_FOUND, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
|
||||
break;
|
||||
|
||||
case CMapElement_Chest::CHEST_STATE::OPENED:
|
||||
m_iShaderPass_Index = ENUM_CLASS(SHADER_PASS_MESH::DEFAULT);
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::CHEST_OPEN, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
|
||||
m_pLid->Open();
|
||||
break;
|
||||
|
||||
|
||||
@@ -65,6 +65,9 @@ void CMapElement_Door::ActingIdle()
|
||||
m_bDrive = true;
|
||||
m_pJoint->setRevoluteJointFlag(PSX::PxRevoluteJointFlag::eDRIVE_ENABLED, true);
|
||||
m_pJoint->setDriveForceLimit(120.f);
|
||||
|
||||
// close
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::DOOR_CLOSE, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
|
||||
}
|
||||
if (true == m_bDrive) { // 드라이브 중이면
|
||||
if (fCurrentDegree > 0.f) {
|
||||
@@ -138,7 +141,8 @@ void CMapElement_Door::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
m_vKinematicTimer.x = FLT_EPSILON3;
|
||||
return;
|
||||
}
|
||||
|
||||
// open
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::DOOR_OPEN, SD_CHANNEL_GROUP::OBJECT, false, 0.8f);
|
||||
m_vKinematicTimer.x = FLT_EPSILON3;
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user