My code below is supposed to place a user created arkit object in the scenview however its not working. It Places 1 object and can not place any more other objects. The code I commented out places scn shape balls perfectly and as many as the user request when the function is called. However it only places 1 user created object and I want to place several objects.
func createBall(hitPosition : SCNVector3) {
// let newBall = SCNSphere(radius: 0.01)
// let newBallNode = SCNNode(geometry: newBall)
// newBallNode.position = hitPosition
// self.sceneView.scene.rootNode.addChildNode(newBallNode)
let scene = SCNScene(named: "art.scnassets/dontCare.scn")!
// Set the scene to the view
sceneView.scene = scene
}