Go to file
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
.claude Fix physics issues: sleep behavior, center of mass, and input scaling 2025-11-24 14:03:32 -06:00
.github/workflows Add cloud leaderboard with Supabase integration 2025-11-26 08:59:55 -06:00
docs Add Blender export tooling and refactor asset structure 2025-11-06 12:25:34 -06:00
public Simplify level system and add asteroid-mania level 2025-11-25 15:34:23 -06:00
scripts Add leaderboard infinite scroll and improve seed script scoring 2025-11-26 12:51:43 -06:00
src Fix WebXR camera setup and pointer selection timing 2025-11-28 10:22:59 -06:00
themes/default Add centralized input control management and mission brief improvements 2025-11-21 17:25:11 -06:00
.gitignore Initial Commit 2025-02-15 11:19:24 -06:00
ANALYTICS_IMPLEMENTATION.md Add analytics abstraction layer with intelligent batching 2025-11-12 16:22:28 -06:00
BUGS.md Add leaderboard infinite scroll and improve seed script scoring 2025-11-26 12:51:43 -06:00
CLAUDE.md Add cloud leaderboard with Supabase integration 2025-11-26 08:59:55 -06:00
CLOUD_STORAGE_PLAN.md Simplify level system and add asteroid-mania level 2025-11-25 15:34:23 -06:00
CONTROLLER_THRUST.md Refactor ship controls to force-based physics with world-space transformations 2025-10-31 11:20:31 -05:00
index.html Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
index.html.backup Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
package-lock.json Add leaderboard seed script with auto-migration 2025-11-26 10:25:51 -06:00
package.json Add leaderboard seed script with auto-migration 2025-11-26 10:25:51 -06:00
svelte.config.js Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
tsconfig.json Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
vite.config.ts Add cloud leaderboard with Supabase integration 2025-11-26 08:59:55 -06:00