diff --git a/Assets/Scripts/Gameplay/EnemyDeath.cs b/Assets/Scripts/Gameplay/EnemyDeath.cs index 2e6ee1a..247b345 100644 --- a/Assets/Scripts/Gameplay/EnemyDeath.cs +++ b/Assets/Scripts/Gameplay/EnemyDeath.cs @@ -33,8 +33,8 @@ namespace Platformer.Gameplay // BT12-Dev 2026-05-10 — Enemy.controller 영역 Idle/Run/Hurt → Death transition 추가 후 정합 발동. // BT12-Dev 2026-05-10 근본 fix — Time.timeScale = 0 (카드 선택 모드) 영역 Animator Update Mode = Normal 정지 회피. // updateMode = UnscaledTime 영역 → timeScale 영향 X · death animation 정합 재생 + transition 정합 발동. - // PD 지시 2026-05-13 — 사망 모션 시각 위치 보정 y -0.5 (Animator death 영역 sprite 위로 떠 보이는 현상 정정) - enemy.transform.position += new Vector3(0f, -0.5f, 0f); + // PD 지시 2026-05-13 — 사망 모션 시각 위치 보정 y -0.3 (Animator death 영역 sprite 위로 떠 보이는 현상 정정) + enemy.transform.position += new Vector3(0f, -0.3f, 0f); var animator = enemy.GetComponent(); if (animator != null) diff --git a/Assets/Scripts/Gameplay/PlayerDeath.cs b/Assets/Scripts/Gameplay/PlayerDeath.cs index 79458fd..99f965a 100644 --- a/Assets/Scripts/Gameplay/PlayerDeath.cs +++ b/Assets/Scripts/Gameplay/PlayerDeath.cs @@ -28,8 +28,8 @@ namespace Platformer.Gameplay if (player.audioSource && player.ouchAudio) player.audioSource.PlayOneShot(player.ouchAudio); - // PD 지시 2026-05-13 — 사망 모션 시각 위치 보정 y -0.5 (sprite 위로 떠 보이는 현상 정정) - player.transform.position += new Vector3(0f, -0.5f, 0f); + // PD 지시 2026-05-13 — 사망 모션 시각 위치 보정 y -0.3 (sprite 위로 떠 보이는 현상 정정) + player.transform.position += new Vector3(0f, -0.3f, 0f); player.animator.SetTrigger("hurt"); player.animator.SetBool("dead", true); diff --git a/Assets/Scripts/Skills/Effectors/ProjectileSpawner.cs b/Assets/Scripts/Skills/Effectors/ProjectileSpawner.cs index 2b2a2b0..64eed74 100644 --- a/Assets/Scripts/Skills/Effectors/ProjectileSpawner.cs +++ b/Assets/Scripts/Skills/Effectors/ProjectileSpawner.cs @@ -25,6 +25,8 @@ namespace EerieVillage.Skills.Effectors Vector2 facing = Vector2.right; var pc = inventory.GetComponent(); if (pc != null) facing = pc.Facing; + // PD 지시 2026-05-13 — 게임 시작 시 Player.Facing=(0,0) 영역 fallback (정지·잔존 투사체 차단) + if (facing.sqrMagnitude < 0.01f) facing = Vector2.right; // PD 정합 2026-05-13 — OffsetDistance.x = facing 방향 거리·OffsetDistance.y = 직각 거리·OffsetXY = 이펙트 절대 Vector2 perpDir = new Vector2(-facing.y, facing.x);