From 9dfd943e19e84f3a6130386a52ddfaf45d281624 Mon Sep 17 00:00:00 2001 From: kimnuri Date: Tue, 9 Dec 2025 11:30:37 +0900 Subject: [PATCH] [fix] bugs --- .../Private/CallBack_Troll_Behavior.cpp | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/CallBack_Troll_Behavior.cpp b/Jusin154_Team3D/Client/Private/CallBack_Troll_Behavior.cpp index 14a9d6d64..dfc4f419a 100644 --- a/Jusin154_Team3D/Client/Private/CallBack_Troll_Behavior.cpp +++ b/Jusin154_Team3D/Client/Private/CallBack_Troll_Behavior.cpp @@ -38,17 +38,17 @@ void CCallBack_Troll_Behavior::onShapeHit(const PSX::PxControllerShapeHit& hit) switch ((PXOBJECT)pTargetActorData->iSubKind) { case PXOBJECT::TERRAIN: - class CGameObject* pOwner = m_pController->Get_Owner(); - _vector vLook = pOwner->Get_Component()->Get_State(STATE::LOOK); - _float fDot = XMVectorGetX(XMVector3Dot(XMLoadFloat3((_float3*)&vDir), vLook)); - if (fDot > cosf(XM_PIDIV4)) { - CModel* pModel = pOwner->Get_Component(); - _uint iAnimIndex = pModel->Get_AnimIndex(); - if (STATEANIM::RUSH_LOOP == iAnimIndex) { - CFSM* pFSM = pOwner->Get_Component(); - pFSM->Change_State(FSMSTATE::STOP); - } - } + //class CGameObject* pOwner = m_pController->Get_Owner(); + //_vector vLook = pOwner->Get_Component()->Get_State(STATE::LOOK); + //_float fDot = XMVectorGetX(XMVector3Dot(XMLoadFloat3((_float3*)&vDir), vLook)); + //if (fDot > cosf(XM_PIDIV4)) { + // CModel* pModel = pOwner->Get_Component(); + // _uint iAnimIndex = pModel->Get_AnimIndex(); + // if (STATEANIM::RUSH_LOOP == iAnimIndex) { + // CFSM* pFSM = pOwner->Get_Component(); + // pFSM->Change_State(FSMSTATE::STOP); + // } + //} break; default: break;