Posts

Post not yet marked as solved
2 Replies
784 Views
Hi I have a scene which was created in Reality Composer. I wish to create an anchor programmatically that remains fixed in the scene. The following code works, but the anchor drifts around with the camera, in stead of being anchored in a fixed spot. Any ideas why this is?      let targetTransform = Transform( matrix: Targets.currentTarget.transformMatrix( relativeTo: nil ) )     let dropAnchor = AnchorEntity()     dropAnchor.transform = targetTransform     dropAnchor.addChild( background )     Prox.scene.addAnchor( dropAnchor) I have been struggling for months now, nothing seems to work. Any ideas would be appreciated.
Posted Last updated
.
Post not yet marked as solved
3 Replies
1.2k Views
I have an AR app built with RealityKit. I want to capture a photo of the underlying scene in RAW (without the virtual objects). However, I am unable to find the AVCaptureSession (associated with the view?) in order to add the appropriate outputs. Please help! The docs are not very complete on Realitykit. :(
Posted Last updated
.