fix: 플레이어-보스 충돌 슬라이딩 및 관통 방지

- CharacterController.enableOverlapRecovery 비활성화로 자동 밀어냄 제거
- 레이어 마스크 의존 제거, 컴포넌트(NavMeshAgent/CharacterController)로 식별
- EnemyBase LateUpdate에서 velocity 기반 보스 위치 보정
- EnemyBase OnAnimatorMove에서 루트모션의 플레이어 방향 이동 차단
- BossEnemy Update를 OnServerUpdate 패턴으로 리팩터링
- 보스 프리팹 하위 오브젝트 레이어 Enemy로 통일

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 00:14:50 +09:00
parent c265f980db
commit a347d9360d
5 changed files with 220 additions and 236 deletions

View File

@@ -60,7 +60,6 @@ public partial class ChaseTargetAction : Action
return Status.Success;
}
// 타겟 위치로 이동
agent.SetDestination(Target.Value.transform.position);
return Status.Running;
}