magicien / GLTFSceneKit

glTF loader for SceneKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working if Access .gltf file via url

amit123ios opened this issue · comments

Its not accessing the .gltf file when I using it through url like:
do { let sceneSource = GLTFSceneSource(url: scenePath) scene = try sceneSource.scene() } catch { print("\(error.localizedDescription)") return }

its saying : The file “Box0.bin” couldn’t be opened because there is no such file.

Is scenePath a valid URL object leading to a glb/gltf?