space-game/src/levels
Michael Mainguy a9ae41c7eb Fix WebXR camera setup and pointer selection timing
- Create consolidated setupXRCamera() method in Level1 to handle all XR
  camera initialization in one place
- Use intermediate TransformNode (xrCameraRig) for camera rotation since
  WebXR camera only uses rotationQuaternion which XR frame updates overwrite
- Fix pointer selection feature registration timing - must register after
  XR session starts, not during initialize()
- Move pointer registration to onStateChangedObservable and setupXRCamera()
- Don't stop render loop before entering XR as it may prevent observables
  from firing properly
- Fix audio paths in shipAudio.ts to use correct asset locations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 10:22:59 -06:00
..
config Implement comprehensive scoring system with star ratings 2025-11-22 06:32:55 -06:00
generation Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
migration Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
stats Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
storage Simplify level system and add asteroid-mania level 2025-11-25 15:34:23 -06:00
level1.ts Fix WebXR camera setup and pointer selection timing 2025-11-28 10:22:59 -06:00
level.ts Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
testLevel.ts Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00