From 195465e4ec2a42e9074537307c4b1f6a3d9f9bdb Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Sun, 11 Jan 2026 11:24:15 +0900 Subject: [PATCH] commit --- .../Client/Private/Effect_Container.cpp | 2 ++ Jusin154_Team3D/Client/Private/Levioso.cpp | 29 ++++++++++++++++++- .../Data/Effect/Levioso/Levioso_Spline.bin | 2 +- Jusin154_Team3D/Engine/Public/Engine_Struct.h | 1 + 4 files changed, 32 insertions(+), 2 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp index 54c84ba80..89f5f376a 100644 --- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp +++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp @@ -730,6 +730,8 @@ ON_COLLISION_INFO CEffect_Container::SweepTarget(_fvector StartPos, _fvector End PHYSX_USERDATA* pUserData = static_cast(pActor->userData); tagCollInfo.pObject = pUserData->pOwner; + tagCollInfo.eCollisionType = ENUM_CLASS(PXOBJECT(pUserData->iSubKind)); + switch (pUserData->eKind) { case PHYSX_KIND::BODY_DYNAMIC: diff --git a/Jusin154_Team3D/Client/Private/Levioso.cpp b/Jusin154_Team3D/Client/Private/Levioso.cpp index 5275d1121..63af4dc63 100644 --- a/Jusin154_Team3D/Client/Private/Levioso.cpp +++ b/Jusin154_Team3D/Client/Private/Levioso.cpp @@ -216,9 +216,10 @@ void CLevioso::OnCollision(CGameObject* pOther, void* pDesc) CCharacter_Controller* pHitCCT = CollisionDesc.pObject->Get_Component(); + + if (pHitCCT != nullptr) { - CEffectParts* pLevioso_Spline = Get_PartObject("Levioso_Spline"); CEffectParts* pLevioso_Hit0 = Get_PartObject("Levioso_Hit0"); @@ -230,6 +231,7 @@ void CLevioso::OnCollision(CGameObject* pOther, void* pDesc) /* 바람과 파티클은 풋포지션 */ + _vector vFootPos = pHitCCT->Get_FootPosition(); CEffectParts* pLevioso_Tornado = Get_PartObject("Levioso_Tornado"); @@ -242,6 +244,31 @@ void CLevioso::OnCollision(CGameObject* pOther, void* pDesc) pLevioso_Rotate1->Get_Component()->Set_State(STATE::POSITION, vFootPos); pLevioso_Bottom_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos); + + _float3 vScale = _float3(1.f, 1.f, 1.f); + pLevioso_Tornado->Get_Component()->Set_Scale(vScale); + pLevioso_Rotate0->Get_Component()->Set_Scale(vScale); + pLevioso_Rotate1->Get_Component()->Set_Scale(vScale); + pLevioso_Bottom_PT->Get_Component()->Set_Scale(vScale); + + switch (static_cast(CollisionDesc.eCollisionType)) + { + case PXOBJECT::GOBLIN_MAGICIAN: + case PXOBJECT::GOBLIN_ASSASSIN: + case PXOBJECT::GOBLIN_WARRIOR: + { + _float3 vScale = _float3(0.7f, 0.7f, 0.7f); + pLevioso_Tornado->Get_Component()->Set_Scale(vScale); + pLevioso_Rotate0->Get_Component()->Set_Scale(vScale); + pLevioso_Rotate1->Get_Component()->Set_Scale(vScale); + pLevioso_Bottom_PT->Get_Component()->Set_Scale(vScale); + break; + } + + default: + break; + } + pLevioso_Tornado->Set_Visible(true); pLevioso_Rotate0->Set_Visible(true); pLevioso_Rotate1->Set_Visible(true); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Spline.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Spline.bin index 03a4350b6..cf7e4756c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Spline.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Spline.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cf6b3f407ea87c520d579d7af98ecc12836682dd6a700091951afd81f751b3b8 +oid sha256:15191901df0a291039dc63271d4c0d3526e3a39db8f33608a835f1725b47c3d0 size 1211 diff --git a/Jusin154_Team3D/Engine/Public/Engine_Struct.h b/Jusin154_Team3D/Engine/Public/Engine_Struct.h index 7933e1aa1..bb94f853f 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Struct.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Struct.h @@ -577,6 +577,7 @@ typedef struct tagOnCollsionInfo _float4 vHitDir = {}; // 시도한 move 방향 _float fLength = {}; // 작용된 힘 _int eHitType = ENUM_CLASS(HIT_TYPE::HIT_PROJECTILE); // 발사체/적당한 공격/강공격 + _int eCollisionType = {}; _float fDamage = {}; // 데미지 class CGameObject* pObject = { nullptr }; // 시전자 }ON_COLLISION_INFO;