Quicklook ar placement
Fixes #3989
Also had to fix the boom_2_.glb model because the model was offset quite a lot, which messed with the rotation required for quicklook AR.
I tried a few different approaches to reset the rotation of the model (like keeping a copy of the matrix). Only rotating it back worked for me though.
@pixlhero Ping - are you planning to come back to this?
@pixlhero Ping - are you planning to come back to this?
Not in the near future unfortunately. We worked around this issue by just not placing it on the wall in our project. So until I have some spare time between projects I won't be able to work on this.
@pixlhero - has this been fixed or still being worked on?
any news how to enable vertical placement on IOS Quicklook?
If anyone would like to take over this PR, it would be great to merge it. I may get to it eventually, but not sure when.
Sorry about turning silent on this PR. I think I might be able to come back to this during next month. Probably not in the next two weeks though, but I put it in my calendar.
Thanks!
Working on this now 🚀
Thanks! Let me know if you have any questions.
I tested the changes here with model-viewer 3.4.0, it works fine for my models. But it seems we have an issue when auto-rotate attribute is used on model-viewer tag, the usdz generated has a different y rotation each time we generate the usdz, and after the 90° rotation here it gives really weird results. The bounding box seems wrong and will result of bad snapping on the wall, the shadow is ok but the model is not correctly on the wall.