I have SCNScene subclass with a camera setup, that I want to use in all the subclasses.
let scene01 = TheSubclassScene()
let scene02 = TheSubclassScene(named:\"a
I have a workaround for that problem. Not nice but it works. I instantiate a SCNScene(named: "art.scnassets/testScene.scn")
then I instantiate a TheSubclassScene()
and I clone the rootNode of the scene and add it as a child node to the subclass scene.
let testScene = SCNScene(named:"art.scnassets/testScene.scn")!
let subclassScene = TheSubclassScene()
subclassScene.rootNode.addChildNode(testScene.rootNode.clone())