When not using ios-src, the generated usdz is correctly facing us when you don't have the auto-rotate attribute on the model-viewer tag.
When you have the auto-rotate attribute set, the generated usdz y rotation is different each time you click on the AR button.
I have currently no idea how this is correlated and where in the code the issue may be.
I found the issue while testing the placement "wall" for QuickLook, see my original comment https://github.com/google/model-viewer/pull/4030#issuecomment-2030234235
Description
When not using ios-src, the generated usdz is correctly facing us when you don't have the auto-rotate attribute on the model-viewer tag. When you have the auto-rotate attribute set, the generated usdz y rotation is different each time you click on the AR button. I have currently no idea how this is correlated and where in the code the issue may be. I found the issue while testing the placement "wall" for QuickLook, see my original comment https://github.com/google/model-viewer/pull/4030#issuecomment-2030234235
Live Demo
https://vfretin-wrong-usdz-y-rotation.glitch.me/ I removed the ios-src attribute and kept the auto-rotate attribute.
https://vfretin-ok-usdz-y-rotation.glitch.me/ I removed the ios-src and the auto-rotate attributes. This one is working correctly.
Version
Browser Affected
OS
AR