ARKitRectangleDetection icon indicating copy to clipboard operation
ARKitRectangleDetection copied to clipboard

add an object on the detected plane

Open openmotion opened this issue 7 years ago • 0 comments

hello how can I add an object in the center of the detected plane in RectangleNode.swift i tried for example to add a simple sphere

let sphereGeometry = SCNSphere(radius: 20) let sphereNode = SCNNode(geometry: sphereGeometry) self.addChildNode(sphereNode) sphereNode.position = position

but the sphere doesn't appears ...

thanks for your help

openmotion avatar Sep 28 '18 21:09 openmotion