Posts

Post not yet marked as solved
0 Replies
636 Views
When I am importing a .usdz file from SketchFab to Xcode, many times the model is hidden. When I examine this file in the scene editor, I can see the boundary of the model, and the opacity is set to 1. However, the model is still invisible.This is the code I used to import the model usdz:do { let modelScene = try SCNScene(url: modelURL, options: [.checkConsistency: true] } catch let error { print("Failed to upload model: \(error)") }I am initially downloading the models from the server and storing them locally. Then, loading the scene from the local URL.
Posted
by dev.hursh.
Last updated
.