Horizontal plane detection limitations?

I'm trying to build an ARKit based app which requires detection of roads and placing virtual content 30 feet away from the camera. However horizontal plane detection is stopping to add anchors after about 10 feet. Is there a workaround for this problem?

Post not yet marked as solved Up vote post of Cherukuri Down vote post of Cherukuri
157 views

Replies

If the surrounding area is nearly flat, you could assume that the ground plane has an infinite extent. In order to place your virtual content, you can then cast a ray with target .existingPlaneInfinite. This raycast will deliver results also beyond the extent of your detected horizontal plane.

If supported in the region where your app is going to be used, you may also want to check out Location Anchors: https://developer.apple.com/documentation/arkit/content_anchors/tracking_geographic_locations_in_ar. For a list of all supported areas and cities, see: https://developer.apple.com/documentation/arkit/argeotrackingconfiguration.