Post

Replies

Boosts

Views

Activity

Reply to RealityKit: run function on image detection
That make sense, but I am unsure how to do that using my current code. I am unfamiliar with ARKit and ARSession. // create ARView let arView = ARView(frame: .zero, 							 cameraMode: .ar, 							 automaticallyConfigureSession: true) // create anchor using an image and add it to the ARView let target = AnchorEntity(.image(group: "AR Resources", name: "some_image")) // add anchor to AR world arView.scene.anchors.append(target) // add objects to anchor to display in ARView // Custom function that adds a plane and text to anchor addARObjs(anchor: target, title: title) // return the view with objects anchored the image return arView
Jul ’20