Go to file
깃 관리자 ea7d32f437 fix(BT12-Dev): FxRotation 박스 미적용 분리 (PD 진단 2026-05-13)
PD 진단: 박스(판정) 은 facing 좌/우 반전만 받아야 하는데
FxRotation 이 박스에도 함께 적용되어 facing flip 과 결합 시
시각상 두 박스가 X 자로 겹쳐 보이는 현상.

방침:
- 박스(판정) = facing 만 반영 · FxRotation 미적용
- 이펙트(시각) = facing + FxRotation 그대로 (현행)

LaserSpawner:
- 박스 rotation = baseAngle (facing) 만, FxRotation 제외
- 박스 forwardDir = facing.normalized (FxRotation 회전 제외)
- OffsetDistance.x 에 facing sign 반영 (좌/우 위치 반전)
- ApplyLaserDamage 도 동일 정합

MeleeAreaSpawner:
- 박스 localRotation = identity (FxRotation 제거)
- OffsetDistance.x 에 facing sign 반영
- DoOverlapBoxFromPlayer rotation 0 · facing sign 반영

LightningStrikeSpawner:
- 박스 rotation 0 · capturedRot 변수 제거
- HitboxDebug.Spawn 후 rotation 별도 부여 라인 제거
- FixedHitDamageCoroutine 호출 rotZ=0

Projectile:
- transform.rotation = facing 만 (FxRotation 제외)
- root 가 BoxCollider2D + 시각 동시 보유 → 박스 회전 금지 의도

검증 (Play 모드 8 case):
- Laser R/L × Fx 0/90 — 박스 rot=0 또는 180 (FxRotation 무반응)
- Melee R/L × Fx 0/45 — 박스 rot=0 (FxRotation 무반응)
- Proj A13 R/L Fx 0 — 박스 rot=0/180 (facing 만)
- Stop 후 Scene 잔존 0건 (HideFlags.DontSave 유지)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 17:27:49 +09:00
Assets fix(BT12-Dev): FxRotation 박스 미적용 분리 (PD 진단 2026-05-13) 2026-05-13 17:27:49 +09:00
Packages auto: 2026-05-12 22:57 · scene: Lobby · 6 files 2026-05-12 22:57:08 +09:00
ProjectSettings auto: 2026-05-12 11:03 · scene: Lobby · 42 files 2026-05-12 11:03:10 +09:00
.gitignore initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
EerieVillage.slnx BT7-Plan Phase 1: VS 순수형 자동 발동 + 하트 분할 시스템 2026-04-24 16:22:13 +09:00