fix(BT12-Dev): GameObject Dynamic Rb→Static + Level 비활성 (PD 의도 정정)

PD: "Level을 안쓰고 GameObject 쓰려는 거야. 닿으면 플레이어가 하늘로
천천히 밀려나는 현상을 수정"

본 PM 자성 #15:
- 직전 commit b0ea32d Level SetActive(true)·Composite·Rb Static 적용은
  PD 의도와 불일치 — Level 영역 사용 X·GameObject 영역 사용
- PD 의도 가설 (Level=정상 지형) → 명시 확인 누락

근본 — MCP 자율 실측:
- GameObject (Layer 0): BoxCollider2D 200×0.5·**Rigidbody2D Dynamic**
- Player KinematicObject (Kinematic Rb) ↔ Dynamic Rb GameObject
  → Newton 3법칙 reaction force → Player 위로 밀려남

fix:
- Level SetActive(false) — PD 의도 정합
- GameObject Rb Dynamic → Static (simulated=true·sleepMode=NeverSleep)
  → Player KinematicObject Cast hit normal=(0,1) → IsGrounded true·velocity 보존

Wall LayerMask (1 << 0) 정합 — GameObject Static Collider Layer 0 hit 정합·
Level 비활성 영향 X.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
깃 관리자 2026-05-10 21:36:10 +09:00
parent b0ea32d5ac
commit 48109f9326
1 changed files with 5 additions and 2311 deletions

File diff suppressed because it is too large Load Diff