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

@@ -107,7 +107,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.Netcode.Runtime::Unity.Netcode.NetworkObject
GlobalObjectIdHash: 652883547
GlobalObjectIdHash: 291279334
InScenePlacedSourceGlobalObjectIdHash: 0
DeferredDespawnTick: 0
Ownership: 1
@@ -134,7 +134,7 @@ MonoBehaviour:
m_EditorClassIdentifier: Colosseum.Game::Colosseum.Player.PlayerMovement
ShowTopMostFoldoutHeaderGroup: 1
moveSpeed: 5
rotationSpeed: 10
rotationSpeed: 20
gravity: -9.81
jumpForce: 5
skillController: {fileID: 6912018896034183004}