feat: 적과 충돌 시 미끄러짐 방지 및 8방향 양자화

- OnControllerColliderHit으로 적 충돌 감지
- 충돌 방향으로의 이동만 차단하여 튕겨나가지 않음
- 충돌 normal을 45도 간격으로 양자화하여 8각형 충돌 느낌 구현
- Enemy 레이어 추가

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-03-16 10:07:09 +09:00
parent f3a995d297
commit 03e1b1303c
4 changed files with 315 additions and 28 deletions

View File

@@ -2,7 +2,7 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!78 &1
TagManager:
serializedVersion: 2
serializedVersion: 3
tags: []
layers:
- Default
@@ -11,7 +11,7 @@ TagManager:
-
- Water
- UI
-
- Enemy
-
-
-
@@ -50,27 +50,3 @@ TagManager:
- Light Layer 5
- Light Layer 6
- Light Layer 7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-