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

How to save and load an object which was created by using ARKit ? #40

Closed
3 tasks
Tamil-Arya opened this issue Sep 21, 2017 · 2 comments
Closed
3 tasks

Comments

@Tamil-Arya
Copy link

Tamil-Arya commented Sep 21, 2017

Hi guys, below scenario is possible or not ?

Scenario ::

  • I want to create a object where i pointed by AR.
  • I want to save SCNNode object which is created, I did by using NSUserdefaults.
  • I want to show the object which is saved when i relaunching my app.

Problems ::

I have created an object where i need even i saved but the problem is, It creating everywhere when i relaunching my app. I want to be unique object as where i created at the same location.

What is my idea to solve this problem ::

I was getting device location (latitude,longitude) along AR giving distances from device to object when i hit the screen. Also i did calculate the latitude and longitude of object place by using longitude, latitude(device location) and distance. Afterwards, set the radius as 30m from device location then in b/w if any object was created recreated the SCNNode.

Help ::

Is it possible to do, what i expected by using above idea ? If YES guide me How? :), if NO please guide me How ? :|

ar

@jarrillaga
Copy link

How do you solve this ?

@mariogithub1234
Copy link

You can Solve this bro?

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

4 participants