Replies: 1 comment
-
Hi, it looks like it should work, does the console.log give you the correct values? I would recommend you update the entity when you get a new GPS position, rather than deleting it and re-creating it. However I would also recommend using the AR.js 3.4 See this example here: https://github.com/AR-js-org/AR.js/tree/master/aframe/examples/new-location-based, this is doing something similar to what you're trying to do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello i have this code, can some one tell me why the a-sphere in the scene (that i removed and add at setinterval function on update gps position in js script ) are removed only one way (the first time) seems that the document.querySelector('#marker') work only fist time. Thanks in advances
Beta Was this translation helpful? Give feedback.
All reactions