PD: "Enemy 닿으면 Player 피해 (밟기는 X·통과)" 근본: - 직전 commit adcb1ac에서 Player↔Enemy 충돌 검출 자체 폐기 - Player 피해 경로 부재 → 복원 필요·단 밟기는 X fix (EnemyController.Update): - _cachedPlayer 캐싱 (Tag·fallback) - Player.IsGrounded && VisualBounds.Intersects(Player.Bounds) → !IsInvulnerable 시 Player.health.Decrement (i-frame 적용) - 공중 (점프) 상태는 통과·밟기 판정 X·EnemyDeath·Bounce X 회귀 영역 X: - Enemy 사망 경로: Player 공격(Projectile·AttackHitbox)만 정합 - Player ↔ Enemy IgnoreCollision Awake 적용 정합·물리 통과 - Enemy ↔ Enemy IgnoreLayerCollision·발판 통과·scale·patrol 정합 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Background | ||
| Core | ||
| Gameplay | ||
| Mechanics | ||
| Model | ||
| MyUI | ||
| Progression | ||
| Skills | ||
| UI | ||
| View | ||
| Background.meta | ||
| Core.meta | ||
| Gameplay.meta | ||
| Mechanics.meta | ||
| Model.meta | ||
| MyUI.meta | ||
| Progression.meta | ||
| Skills.meta | ||
| UI.meta | ||
| View.meta | ||