Merge branch 'Develope' into Effect

This commit is contained in:
GiJungSUk
2026-01-09 15:36:34 +09:00
63 changed files with 1953 additions and 484 deletions
+28
View File
@@ -14,6 +14,7 @@
#include "Layer.h"
#include "MapElement_Interactable.h"
#include "Monster.h"
#include "TimeSocket.h"
#include "PlayerRobe.h"
#include "RaceRing.h"
#include "Wand.h"
@@ -474,6 +475,33 @@ void CPlayer::OnHit(CGameObject* pOther, CGameObject* pCaller)
{
}
void CPlayer::Trigger(CTimeSocket& Socket)
{
SOCKETCONTENTS* pContents = &Socket.m_Contents;
switch (pContents->eTypeFunc)
{
case TIMESOCKET_FUNC::TRANSLATION:
{
_vector vNewPos = XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f);
m_pTransformCom->Set_State(STATE::POSITION, vNewPos);
m_pCharacter_Controller->Set_Position(vNewPos);
m_pTransformCom->RotationQ(pContents->pxTransform.q);
m_pTransformCom->RewindMomentum();
}
break;
case TIMESOCKET_FUNC::TRANSLATION_LERP:
{
} break;
case TIMESOCKET_FUNC::SET_ANIMSTATE:
{
} break;
default:
break;
}
}
void CPlayer::Start_CameraShake(_float fTime, _float fIntense)
{
m_vCameraShakeTimer.x = 0.f;