3,312 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
73
views
How to access a Reality Composer Pro scene in a UIViewRepresentable ARView?
I am creating an Augmented Reality iOS (Not VisionOS) app using scenes created in Reality Composer Pro.
I'd like my code to send a notification to a RCP scene that plays a timeline. The RCP interface ...
0
votes
1
answer
30
views
RealityKit CollisionFilter: left and right child colliders both firing when only one is touched
I’m working with RealityKit and trying to detect on which side of a connector a sphere has collided.
The setup:
I have a connector (a cylinder).
It has two child entities, each one with its own ...
0
votes
0
answers
52
views
Vuforia 11.3.4 error — ARTrackablesChangedEventArgs not found when using AR Foundation 5.2.0 (Unity 2022.3)
I’m working on an AR project in Unity 2022.3 using Vuforia Engine 11.3.4 and AR Foundation 5.2.0.
When I try to build or play in the editor, I get the following compile error:
Library\PackageCache\com....
3
votes
0
answers
87
views
How to correctly project LiDAR vertices from ARKit world space onto the segmentationBuffer pixel coordinates?
I’m working with ARKit + RealityKit to process LiDAR depth data in real time.
Inside the ARSessionDelegate callbacks, I receive anchors and update a mesh.
For each vertex (in world space), I want to ...
1
vote
1
answer
153
views
How to keep USDZ node fixed after image tracking is lost (prevent drifting)?
I’m using ARKit + SceneKit (Swift) with ARWorldTrackingConfiguration and detectionImages to place a 3D object (USDZ via SCNScene(named:)) when a reference image is detected. While the image is tracked,...
2
votes
0
answers
49
views
ARKit eye tracking red dot doesn’t match where the user is looking during calibration
I’m building an iOS eye-tracking app using ARKit’s ARFaceTrackingConfiguration and ARFaceAnchor.blendShapes (like .eyeLookInLeft, .eyeLookOutLeft, etc.) to estimate gaze direction.
During calibration, ...
0
votes
1
answer
61
views
How to receive notification from Reality Composer Pro timeline in Xcode
I am creating an Augmented Reality iOS app in Xcode 16.3 / SwiftUI that loads scenes created in Reality Composer Pro 2.0 into an ARView (not a RealityView).
RCP timelines allow you to add '...
1
vote
1
answer
238
views
How to add ground shadow to usdz model?
I now use realitykit to load the usdz model, but there is no shadow when loaded. Only when I turn on plane detection do I get shadows. I also tried to manually add planes and lights to construct ...
1
vote
1
answer
234
views
Can we create back side texture in RealityKit, ARKit and Swift application in one go?
I am using the code below to create a flat object using coordinates we generate in TwoPointCircleView class.
It is OK we see object just as we wanted but when we rotate object like 180 degree around x ...
0
votes
0
answers
87
views
How to create a head-following anchor and place a sticky button at selected location in RealityKit (like JigSpace app)?
I’m working on a VisionOS/RealityKit app where I want to:
Create an anchor that follows the user’s head position as they move around (similar to a "head-tracked anchor").
Let the user choose a ...
1
vote
0
answers
44
views
Viewing Frustum using ARKit
I have been trying to calculate and visualize frustum in SwiftUI using ARKit for several days now, but to no avail. I have been using the following code
// This function handles a tap gesture to ...
1
vote
1
answer
220
views
How to load a Reality Composer Pro Scene into an ARView for iOS
As question states, am trying to load a file called TestScene.usda, created in Reality Composer Pro, using the ModelEntity.load method, into an ARView within an iOS (not VisionOS!) project, so it can ...
2
votes
1
answer
139
views
How do we check if an ARView contains certain anchor?
Let's assume we have ARView for a NonAR app. .nonAR means you’re showing RealityKit VR scene only, so there’s no ARSession to configure.
lazy var arView: ARView = {
let view = ARView(frame: .zero,
...
1
vote
0
answers
55
views
Object not staying fixed after being anchored(AR Foundation)
I'm new to Unity and currently working on an augmented reality project using AR Foundation. My goal is to place a GameObject at a specific position in the real world and have it remain fixed in that ...
1
vote
0
answers
55
views
ARKit camera transform orientation vector doesn't match physical device heading (despite `.gravityAndHeading`)
I'm working on an ARKit-based iOS app where I need to accurately determine the direction the device is facing to localize objects in the real world. I'm using:
let config = ...