diff --git a/Assets/Scripts/Mechanics/EnemyController.cs b/Assets/Scripts/Mechanics/EnemyController.cs index 78f4038..b8400c0 100644 --- a/Assets/Scripts/Mechanics/EnemyController.cs +++ b/Assets/Scripts/Mechanics/EnemyController.cs @@ -273,11 +273,11 @@ namespace Platformer.Mechanics return; } - // BT12-Dev 2026-05-12 — IsGrounded=False 영역 patrol·cliffCheck skip (PD: 공중 낙하 시 자연 낙하 우선) - // 피격 밀림·공중 spawn 영역 KinematicObject 자연 낙하 → 바닥/발판 정착 → IsGrounded=True → patrol 재개. - if (control == null || !control.IsGrounded) + // BT12-Dev 2026-05-12 — IsGrounded 가드 폐기 (PD: 6c981ed 정합·영구 정지 정정) + // 이전 가드는 IsGrounded=False 시 patrol skip·move=0·return → KinematicObject FixedUpdate + // 첫 호출 전까지 IsGrounded=False (default) → 매 frame skip → 영구 정지 루프 + if (control == null) { - if (control != null) control.move.x = 0f; _stuckTimer = 0f; return; }