Replies: 3 comments 5 replies
-
I wonder if it's an issue with |
Beta Was this translation helpful? Give feedback.
-
Latest "three": "0.144.0", "@react-three/fiber": "8.7.1", I'll upgrade that see if it helps. Is there the source of the original ARCanvas anywhere? |
Beta Was this translation helpful? Give feedback.
-
I've updated the example with the latest code and the way I've configured it. https://codesandbox.io/s/react-xr-simple-ar-demo-forked-kdj1ui This is doing the same thing, object moves away from camera when you move the camera towards it. |
Beta Was this translation helpful? Give feedback.
-
Hey I'm trying to get a similar effect to the old version in the new version.
i.e. With ARCanvas and the example on the site, https://codesandbox.io/s/8w8hm?file=/src/App.tsx
When I move the phone towards the object it tracks in 3D space and I can move closer to the object.
With the newer
<XR>
component, the camera doesn't appear to track and the object is fixed in position regardless of how the phone moves. i.e. I want to look closer by moving the camera towards the object etc.What are the settings that were in ARCanvas that allowed the camera to move?
Is this depth sensing? Is this something that been removed since ARCanvas?
Beta Was this translation helpful? Give feedback.
All reactions