From 7eadfe06eee65dbc5b778d17e7604498a89f5de9 Mon Sep 17 00:00:00 2001 From: Bela Bohlender Date: Fri, 9 Aug 2024 18:20:36 +0200 Subject: [PATCH] depth sensing example --- examples/stage/src/App.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/stage/src/App.jsx b/examples/stage/src/App.jsx index 12b9830..e93f81f 100644 --- a/examples/stage/src/App.jsx +++ b/examples/stage/src/App.jsx @@ -4,7 +4,7 @@ import { Model } from './Datsun.jsx' import { XROrigin, XR, createXRStore } from '@react-three/xr' import { Suspense } from 'react' -const store = createXRStore() +const store = createXRStore({ depthSensing: true, hand: false }) export default function App() { return ( @@ -49,7 +49,9 @@ export default function App() { - + + +