I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. See code in comment
Mudasir441 opened this issue · 2 comments
Mudasir441 commented
import Foundation
class CupPlane: VirtualObject {
override init() {
super.init(modelName: "cup1", fileExtension: "scn", thumbImageFilename: "cup", title: "Cup2")
}
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}
and in VirtualObject.swift class I added the following:
CupPlane()
acsarraf commented
When you try to initialize a CupPlane object, is the object set to nil or is it being set to an actual object?
Mudasir441 commented
it is set to an actual object.