- 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> |
||
|---|---|---|
| .. | ||
| input | ||
| ship.ts | ||
| shipAudio.ts | ||
| shipEngine.ts | ||
| shipPhysics.ts | ||
| shipStatus.ts | ||
| sight.ts | ||
| voiceAudioSystem.ts | ||
| weaponSystem.ts | ||