How to plot a polyline in AR for navigation?

Recently I am working on an AR navigation app. I have tried to use a library call ARCL which is downloaded from Cocoapods. I can plot out a route in AR. However, the route is always jumping around when i am walking. Is there any way that I can make the route be stable and stick on the ground. Hope can someone help me.

This is what I have done so far

Replies

Have you checked out Location Anchors? They allow attaching virtual content to geographic locations and seem like a good fit for the use case you are describing. Location Anchors are available already in a variety of locations all over the world (see up to date list here).

This developer sample further illustrates the use of Location Anchors: https://developer.apple.com/documentation/arkit/content_anchors/tracking_geographic_locations_in_ar.

  • Yes I have tried it before. Unfortunately my area still not support to use the ARGeoAnchor! But I really appreciate your reply. Thank you!

Add a Comment