I have a scene.scn file which contains a car.dae model. Here is the image:
I have the following code to load the scene.
override func viewDidLoad() {
super.viewDidLoad()
// Set the view's delegate
sceneView.delegate = self
// Show statistics such as fps and timing information
sceneView.showsStatistics = true
// Create a new scene
let scene = SCNScene(named: "art.scnassets/scene.scn")!
// Set the scene to the view
sceneView.scene = scene
}
I do not see the car being loading in the scene. Any ideas?