You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I load the ARScene and use ARjs to scan a marker I am able to render a box, however when I move my camera/headset around the offset of the marker moves in opposite directions and goes out of scene.
I have tried to make a code sandbox here, but for some reason it can't find the @artcom/react-three-arjs in the local library or something?
If you copy and paste it locally it should work just the same.
Relevant Information
I'm using a react library called @artcom/react-three-arjs that's a very basic wrapper of ARjs for React, so the syntax looks different, but it's the same.
Bug
Current Behaviour
When I load the ARScene and use ARjs to scan a marker I am able to render a box, however when I move my camera/headset around the offset of the marker moves in opposite directions and goes out of scene.
I have tried to make a code sandbox here, but for some reason it can't find the
@artcom/react-three-arjs
in the local library or something?You can find the code here
https://codesandbox.io/s/vx2dj4
If you copy and paste it locally it should work just the same.
Relevant Information
@artcom/react-three-arjs
that's a very basic wrapper ofARjs
for React, so the syntax looks different, but it's the same.Magic Leap 2
deviceRelated Code
The code for it is this
Expected Behaviour
I am expecting the marker to show up, in the center of the mark, and not move.
However when it renders it's offset and moves when my camera/headset moves.
I think this may be related to #543
Demonstration
Please see the images below.
The
pink cube
is the marker.The text was updated successfully, but these errors were encountered: