google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.93k stars 818 forks source link

Model gets repositioned in upward direction after some time. #4417

Closed prerna-mohan closed 1 year ago

prerna-mohan commented 1 year ago

Description

This was observed in webxr. The model gets placed initially, but after sometime or some camera movement it will reposition itself upwards in Y axis. Ideally, once the object is placed, it should be locked there, shouldn't reposition like this.

Go to https://modelviewer.dev/examples/annotations/index.html

  1. For the "Astronaut" model and enter the webxr.
  2. Observe that after some phone camera movements like back and forth, it repositions upwards incorrectly(above the surface).

Live Demo

https://modelviewer.dev/examples/annotations/index.html

Version

Browser Affected

OS

AR

prerna-mohan commented 1 year ago

@elalish @cdata Can you please help here.