AR Moving camera #186
-
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 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.
Replies: 4 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.
-
@bknill |
Beta Was this translation helpful? Give feedback.
@bknill
Just doing some housekeeping here. This should be fixed in react-three/xr v6. If the issue persists, please create an issue :)