diff --git a/Assets/Prefabs/Enemy.prefab b/Assets/Prefabs/Enemy.prefab index 5c8aad2..f171b47 100644 --- a/Assets/Prefabs/Enemy.prefab +++ b/Assets/Prefabs/Enemy.prefab @@ -35,7 +35,7 @@ Transform: serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 5.508, y: 1.832, z: 1} - m_LocalScale: {x: 1.7, y: 1.7, z: 1} + m_LocalScale: {x: 1.19, y: 1.19, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} diff --git a/Assets/Scripts/Mechanics/EnemyController.cs b/Assets/Scripts/Mechanics/EnemyController.cs index 80540ab..f0f4010 100644 --- a/Assets/Scripts/Mechanics/EnemyController.cs +++ b/Assets/Scripts/Mechanics/EnemyController.cs @@ -101,6 +101,10 @@ namespace Platformer.Mechanics } } + // BT12-Dev 2026-05-11 — Enemy ↔ Enemy IgnoreLayerCollision (PD 지시: 몬스터 영역 통과) + // Layer 14 (Enemy) ↔ Layer 14 collide X·전역 1회 적용 (Awake 영역 매번 호출 무관·idempotent). + Physics2D.IgnoreLayerCollision(14, 14, true); + // PD 명시 2026-05-08 — 자동 patrol 시작 위치 저장 (측정·target은 Start 시점) _startX = transform.position.x; _startY = transform.position.y; // BT102: 떨어짐 검출 기준