space-game/src/ship
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
..
input Fixed some physics problems. 2025-11-24 17:03:41 -06:00
ship.ts Add leaderboard infinite scroll and improve seed script scoring 2025-11-26 12:51:43 -06:00
shipAudio.ts Fix WebXR camera setup and pointer selection timing 2025-11-28 10:22:59 -06:00
shipEngine.ts Fix routing, cleanup, and game restart issues 2025-11-25 11:21:05 -06:00
shipPhysics.ts Fixed some physics problems. 2025-11-24 17:03:41 -06:00
shipStatus.ts Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
sight.ts Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
voiceAudioSystem.ts Fix critical bug: Repeating voice messages now stop when resources recover 2025-11-11 16:57:12 -06:00
weaponSystem.ts Simplify level system and add asteroid-mania level 2025-11-25 15:34:23 -06:00