docs(BT12-Dev-Vis): CastFx 방향 정합·진단 회수 (엔트리 38)
EerieVillage 7ad3319 push 정합. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
88f51d0274
commit
4e63f22ab8
File diff suppressed because one or more lines are too long
|
|
@ -894,6 +894,20 @@ awk -v name="<prefab_name>" 'BEGIN{found=0} /^--- !u!1 &/{id=$3} /m_Name:/ {if($
|
|||
|
||||
---
|
||||
|
||||
## 엔트리 38 — A08 시전 이펙트 facing 방향 정합 + 진단 Log 회수 (2026-05-13 EerieVillage `7ad3319`)
|
||||
|
||||
**PD 보고**: "시전 이펙트가 반대로 발사되고 있어"
|
||||
|
||||
**원인**: `ProjectileSpawner.Trigger` 영역 CastFx Instantiate = `Quaternion.Euler(0f, 0f, data.FxRotation)` (=0). FX_PinkArrow_Shoot sprite left 기본 → 시전 영역 sprite left 표시·Player right 발사 방향과 반대.
|
||||
|
||||
**fix**:
|
||||
- CastFx 영역 = `Mathf.Atan2(facing.y, facing.x) * Rad2Deg + data.ProjectileAngleOffset + data.FxRotation` 적용 (Projectile 본체 동일 패턴)
|
||||
- A08 영역 ProjectileAngleOffset=180 정합 → CastFx·Projectile 동일 방향
|
||||
|
||||
**진단 Log 회수**: `[ProjectileSpawner] card=A08·CastFx=...`·`[ProjectileSpawner] CastFx spawned`·`[Projectile] OnHit ...` 3종 revert (PD Inspector 측정 영역 fileID 정정 완료·근본 원인 확정).
|
||||
|
||||
---
|
||||
|
||||
## 영역 자산
|
||||
|
||||
- `HitboxDebug.cs` 공용 helper (Spawn·AttachToTransform·GetWhiteSprite) — 추후 다른 카테고리 (C 설치·D 소환·E 오라) 영역 박스 시각화 재사용 가능.
|
||||
|
|
|
|||
Loading…
Reference in New Issue