A real-world position and orientation that can be used for placing objects in an AR scene.
Questions tagged [aranchor]
33 questions
19
votes
7 answers
Check whether the ARReferenceImage is no longer visible in the camera's view
I would like to check whether the ARReferenceImage is no longer visible in the camera's view. At the moment I can check if the image's node is in the camera's view, but this node is still visible in the camera's view when the ARReferenceImage is…

KNV
- 631
- 4
- 19
4
votes
1 answer
Swift : ARKit Save ARPlaneAnchor for next session
ARKit is quite new and I am quite new in swift... So I'm having some troubles...
I'd like to save the ARPlaneAnchor detected during a session and reload them when I relaunch my app. My phone will always be at the same place and I'd like to scan the…

mcarlier
- 41
- 1
- 3
3
votes
0 answers
How can I reach 2D coordinate system from ARAnchor?
I'm newbee on ARKit and I searched lot of things to reach 2D coordinate system but I couldn't find anything.
I tried to use lookAtPoints to reach it. Here is my part of code.
func renderer(_ renderer: SCNSceneRenderer, didUpdate node: SCNNode, for…

Kirdok
- 1,904
- 2
- 22
- 27
3
votes
1 answer
ARKit: Place USDZ model to plane by add anchor but it always above my head
I am newbie in ARKit and do small project add object to plane.
I am follow step in Apple demo project: Handling 3D Interaction and UI Controls in Augmented Reality.
If I load scn model (or dae, obj) and place in plane use add anchor it work…

Quyet Nguyen
- 118
- 8
3
votes
1 answer
SceneKit nodes aren't changing position with scene's root node
I'm using SceneKit with ARKit, and right now have a simple app where I tap on the screen and it adds an ARAnchor and a SCNNode to my scene.
At some point, I'm going to want to move the entire scene, so I tried changing…

Andrew
- 7,693
- 11
- 43
- 81
2
votes
1 answer
ARCore – Max number of Anchors
I am wondering what is the max number of anchors that we can create in ARCore before the AR session crash? Let say, we place an anchor every 5 meters.

Taieb Ben Cheikh
- 21
- 1
2
votes
1 answer
Can ARKit and ARCore use Beacon as an Anchor?
We’re trying to anchor a model using an absolute coordinate system.
I’m using a UWB beacon system to know where devices are.
I’m now trying to tell ARKit (or ARCore) where the origin Anchor is.
I’m trying to use a beacon location as the origin.
Is…

c murray
- 21
- 1
2
votes
0 answers
Trackable custom anchors in ARKit
Is there a way to create a custom anchor with ARKit that is trackable? I am trying to build and AR app and put an anchor on a moving 3D object and have a scenekit node render on that object. For example, can a create an anchor on someone's…

user12942
- 21
- 1
2
votes
2 answers
RealityKit – Error: 'translation' is inaccessible due to 'internal' protection level
I'm new to Swift, I'm programming an AR app with RealityKit for the app interface and a Wrapped SwiftUI struct inside one of those View Controllers, so I can create a custom AR interface. (I don't know if that's the proper way to do it, but as I…

bravemoon
- 47
- 7
2
votes
2 answers
Which method should be used to achieve the most accurate world tracking experience on ARKit?
My company is developing an Augmented Reality app for a client, using ARKit, and they want the best world tracking experience on iOS. We have told them that this is not an exact science and that small variations are perfectly normal, but they want…

aviggiano
- 1,204
- 17
- 23
2
votes
1 answer
Does ARKit ever automatically update or "detect"/add a pure ARAnchor by itself? (Like how it generates ARPlaneAnchors?)
What is the point of a "pure" ARAnchor (that isn't an ARPlaneAnchor)?
Does ARKit ever automatically update/track or add/detect a pure ARAnchor? (Like how it does with ARPlaneAnchor?)
Why would anyone want to add a custom ARAnchor to ARKit, if they…

aidinabedi
- 121
- 1
- 4
2
votes
1 answer
ARKit – Add a "SCNNode" to an "ARAnchor"
I'm not sure I am approaching this correctly. I have a long rectangular box that I want to add -1.5 from the camera when the app starts up. But I want it to be stationary, like the ship that comes default in an ARKit project. But whenever I add it,…

PruitIgoe
- 6,166
- 16
- 70
- 137
1
vote
1 answer
ARPlaneAnchor's 'extent' property deprecated
I'm using ARKit to build an AR app with SceneKit. When I was creating an SCNPlane object when SceneKit detected a horizontal plane using ARPlaneAnchor's extent of x and y properties I ran into this warning:
// *'extent' was deprecated in iOS 16*
My…

NhlanhlaNkosi
- 573
- 1
- 4
- 8
1
vote
0 answers
How can I get a 3D point from 2D screen touch using anchor coordinates?
I'm making an ARCore app. I want to get a 3D point from user's screen touch using anchor coordinates not world coordinates.
I need to get a 3D point based on an anchor coordinates so that I can restore the object at the same location later using the…

SeohyeonPark
- 33
- 4
1
vote
0 answers
How can you deduce the width, length, and height of an object using 2 planes in ARKit?
I am trying to build a simple application with ARKit in Swift, my goal is to measure whether a cuboid object is larger than a certain dimension, to do this, I need to use ARKit to obtain the length, width, and height of the scanned object.
My idea…

micol
- 11
- 3