diff --git a/src/pages/XRSession.tsx b/src/pages/XRSession.tsx index 86b57cb..85615f6 100644 --- a/src/pages/XRSession.tsx +++ b/src/pages/XRSession.tsx @@ -32,10 +32,16 @@ if (navigator.xr) { const store = createXRStore({ hand: { left: true, right: true }, controller: { left: true, right: true }, - sessionInit: { - requiredFeatures: ['local-floor'], - optionalFeatures: ['hit-test', 'plane-detection', 'hand-tracking'], - }, + // Audit de features WebXR — pedimos só o que o app usa, para reduzir + // gatilhos do Space Sense / Guardian do Quest (grid vermelho/azul perto + // de paredes e objetos). Mantemos hit-test, plane-detection e hand-tracking; + // desligamos anchors, mesh-detection, depth-sensing e layers que não usamos. + anchors: false, + meshDetection: false, + depthSensing: false, + layers: false, + bodyTracking: false, + // handTracking, planeDetection, hitTest, domOverlay ficam no default (true) }); // ─── XRModel ───────────────────────────────────────────