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:
parent
56a4a362a5
commit
ebd7086a53
|
|
@ -164,6 +164,9 @@ namespace EerieVillage.Skills.Effectors
|
|||
{
|
||||
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 방어.
|
||||
if (other.GetComponent<PlayerController>() != null) return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue