-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D object moving or disappearing randomly (location-based AR) #5620
Comments
I just want to specify that I'm using an Iphone 13 and running on iOS 18.1.1. Browser: Safari/605.1.15 |
I have also tried to include the custom no-cull component as recommended by this 8th-wall post: https://forum.8thwall.com/t/models-disappear-when-the-camera-is-pointing-to-it/1622/4 Although I must admit that I'm unsure if the issue is the same. |
This seems more like an issue with AR.js and not with A-Frame, so probably better to check open issues there: https://github.com/AR-js-org/AR.js/issues That being said, the location-based tracking in AR.js only uses GPS data. This means that your movement isn't directly reflected and only when the GPS location is updated will the scene update, which due to GPS inaccuracies and update frequency will appear as jumps. |
Hi, thank you for replying, I will check the open issues over at AR.js. That being said, do you happen to know why, even if the GPS location data updates, will the model jump in position? If my model is positioned at a specific location, even if my location data updates, shouldn't the model still be at that same position and not other? Unless location data updating causes the markers to be misaligned with the real world due to inaccuracies like you mentioned. |
If the GPS location data updates to an inaccurate location (which is possible), then the model will jump. Let's say the model is showing 10 metres to the north of you. You then get an inaccurate GPS reading, which places you 10 metres to the north of the model (i.e. the model is 10 metres to the south of this inaccurate reading). The model will jump so it appears to be south of you. AR.js location-based does not attempt to track real world objects (e.g. using computer vision), it just uses GPS and sensors. I am one of the maintainers of AR.js so will reply to your issue over there. |
Hi there, there seems to be a bug with the location-based AR where my 3D models would randomly appear and disappear, even changing the distance recorded between me and the object.
I have tried both the new location-based system in v1.3.0 using gps-new-entity-place and the old one, both resulted in the same issue.
I have included one videow ith a purple cable car. In the video I used the legacy version, but I encountered the same issues using the most updated version
Sources:
https://ar-js-org.github.io/AR.js-Docs/location-based-aframe/
There is also a stackoverflow thread addressing this over 4 years ago, but there was no response: https://stackoverflow.com/questions/59982075/3d-objects-moving-or-disapearing-when-using-a-frame
~
video6334496983964718096.mp4
The text was updated successfully, but these errors were encountered: