Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARKit.Model is not working #188

Open
dianazzz opened this issue Jul 17, 2018 · 3 comments
Open

ARKit.Model is not working #188

dianazzz opened this issue Jul 17, 2018 · 3 comments

Comments

@dianazzz
Copy link

I successfully added art.scnassets folder and added ship.scn image. But image doesn't appeared in the app. Please explain the steps to add images. And also to add .dae image file

@jwanga
Copy link

jwanga commented Aug 21, 2018

What file path did you use in the model definition. It needs to include the folder i.e "i.e: file:'art.scnassets/file_name.scn',"

@joseocasioserra
Copy link

I am having the same issue, I am using the same path: art.scnassets/ship.scn
And I added the folder and file under my iOS App

@joseocasioserra
Copy link

joseocasioserra commented Aug 2, 2019

Turns out the code in the example does not work, but this one does:

<ARKit.Model
          model={{ file: 'art.scnassets/iphone6.dae' }}
          position={{ x: 0, y: -2.0, z: -3.0 }}
          eulerAngles={{ x: 0, y: Math.PI * 2.0, z: 0 }}
        />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants