From ebd7086a538b3e391fe4b6a11226a4e263d061f8 Mon Sep 17 00:00:00 2001 From: swrring Date: Wed, 13 May 2026 19:55:17 +0900 Subject: [PATCH] =?UTF-8?q?fix(BT12-Dev):=20=ED=88=AC=EC=82=AC=EC=B2=B4?= =?UTF-8?q?=EB=81=BC=EB=A6=AC=20=EC=B6=A9=EB=8F=8C=20X=C2=B7=ED=86=B5?= =?UTF-8?q?=EA=B3=BC=20=EC=A0=95=ED=95=A9=20(PD=20=EC=A7=80=EC=8B=9C=20202?= =?UTF-8?q?6-05-13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Projectile.OnTriggerEnter2D 영역 동족 Projectile skip (Wall·Enemy 판정 이전). 원인: fallback Projectile GO 영역 default Layer 0 영역 → 다른 Projectile 영역 isWall=true 판정 → 양쪽 SelfDestruct. fix: other.GetComponent() != null 시 즉시 return. Co-Authored-By: Claude Opus 4.7 (1M context) --- Assets/Scripts/Skills/Effectors/Projectile.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/Scripts/Skills/Effectors/Projectile.cs b/Assets/Scripts/Skills/Effectors/Projectile.cs index f96812f..71af439 100644 --- a/Assets/Scripts/Skills/Effectors/Projectile.cs +++ b/Assets/Scripts/Skills/Effectors/Projectile.cs @@ -164,6 +164,9 @@ namespace EerieVillage.Skills.Effectors { if (_hitTargets.Contains(other)) return; + // PD 지시 2026-05-13 — 투사체끼리 충돌 X·통과 정합 (Projectile 컴포넌트 동족 skip·Wall 판정 이전) + if (other.GetComponent() != null) return; + // PD 지시 2026-05-09 후속 방어 — 자기(Player) hit·자기 자신·hit 방어. if (other.GetComponent() != null) return;