fix(BT12-Dev): 투사체끼리 충돌 X·통과 정합 (PD 지시 2026-05-13)

Projectile.OnTriggerEnter2D 영역 동족 Projectile skip (Wall·Enemy 판정 이전).

원인: fallback Projectile GO 영역 default Layer 0 영역 → 다른 Projectile 영역 isWall=true 판정 → 양쪽 SelfDestruct.
fix: other.GetComponent<Projectile>() != null 시 즉시 return.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
깃 관리자 2026-05-13 19:55:17 +09:00
parent 56a4a362a5
commit ebd7086a53
1 changed files with 3 additions and 0 deletions

View File

@ -164,6 +164,9 @@ namespace EerieVillage.Skills.Effectors
{ {
if (_hitTargets.Contains(other)) return; if (_hitTargets.Contains(other)) return;
// PD 지시 2026-05-13 — 투사체끼리 충돌 X·통과 정합 (Projectile 컴포넌트 동족 skip·Wall 판정 이전)
if (other.GetComponent<Projectile>() != null) return;
// PD 지시 2026-05-09 후속 방어 — 자기(Player) hit·자기 자신·hit 방어. // PD 지시 2026-05-09 후속 방어 — 자기(Player) hit·자기 자신·hit 방어.
if (other.GetComponent<PlayerController>() != null) return; if (other.GetComponent<PlayerController>() != null) return;