google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 400 forks source link

Stick objects when camera cover up #467

Closed dmitrijnedopekin closed 5 years ago

dmitrijnedopekin commented 5 years ago

SPECIFIC ISSUE ENCOUNTERED

I placed some object to scene by static coordinate (coordinates don`t changing). When user cover up camera by chance or camera located near some objects (wall, table etc.) - i get "frozen" scene. (Scene moving with device (Objects sticked to camera))

Any help would be appreciated.

If you need more details, feel free to ask.

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Place some primitive on scene
  2. Run app
  3. Find object in space
  4. Cover up camera
  5. Moving device with covered camera
fredsa commented 5 years ago

Please use anchors to place virtual assets in the scene. This ensures that they maintain their position in space as ARCore updates it's understanding of the world.