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
I am using image tracking and displaying some A-Frame elements when target is found. When target is lost, I hide the scanning UI based on the emitted events. I'm doing this in React and it's all working quite nicely. :)
What I would like to do, instead of hiding the Scene on targetLost event, is to keep it there, fixed in world space that it was originally placed in so the user can still move around. I would then destroy the A-Frame stuff on some other click input (handled using React hooks) and go back to the scanning UI.
I saw A-Frame has this kind of ability recently using hitTest.
Do you have any pointers for making this work? Sorry if it's a bad question, I am very new to this and appreciate any pointers you might have for me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
Firstly, thanks for this great library!
I am using image tracking and displaying some A-Frame elements when target is found. When target is lost, I hide the scanning UI based on the emitted events. I'm doing this in React and it's all working quite nicely. :)
What I would like to do, instead of hiding the Scene on targetLost event, is to keep it there, fixed in world space that it was originally placed in so the user can still move around. I would then destroy the A-Frame stuff on some other click input (handled using React hooks) and go back to the scanning UI.
I saw A-Frame has this kind of ability recently using hitTest.
Do you have any pointers for making this work? Sorry if it's a bad question, I am very new to this and appreciate any pointers you might have for me.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions