Go to file
Michael Mainguy 622e0a5259
All checks were successful
Build / build (push) Successful in 1m34s
Fix VR pointer interaction with GUI by removing restrictive picking predicate
Resolved issue where VR laser pointers could not click mission brief buttons. Root cause was scene.pointerMovePredicate filtering out GUI meshes before pointer events could reach AdvancedDynamicTexture.

Changes:
- Commented out restrictive pointerMovePredicate that blocked GUI mesh picking
- Temporarily disabled renderingGroupId=3 on mission brief for VR compatibility
- Adjusted ship physics: reduced angular force multiplier (1.5→0.5) and increased damping (0.5→0.6)

Technical details:
- WebXRControllerPointerSelection uses scene.pointerMovePredicate during pickWithRay()
- If predicate returns false, pickInfo.hit=false and GUI events never fire
- AdvancedDynamicTexture requires pickInfo.pickedMesh === mesh to process events
- Removing predicate allows default behavior (all isPickable meshes are candidates)

TODO: Re-implement predicate using renderingGroupId === 3 check for production

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 17:53:31 -06:00
.claude Fix physics issues: sleep behavior, center of mass, and input scaling 2025-11-24 14:03:32 -06:00
.github/workflows increased heap space. 2025-10-28 12:01:29 -05:00
docs Add Blender export tooling and refactor asset structure 2025-11-06 12:25:34 -06:00
public Fix physics issues: sleep behavior, center of mass, and input scaling 2025-11-24 14:03:32 -06:00
scripts Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
src Fix VR pointer interaction with GUI by removing restrictive picking predicate 2025-11-24 17:53:31 -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
CLAUDE.md Refactor asteroid scaling and reorganize assets 2025-11-10 12:19:31 -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 centralized input control management and mission brief improvements 2025-11-21 17:25:11 -06:00
package.json Add centralized input control management and mission brief improvements 2025-11-21 17:25:11 -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 Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00