You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
Is this possible to set object on vertical plane with rotation pararell to horizontal plane? For example image frame or tv screen - I would like to place it wall-sticky but I get random rotation in y-axis.
The text was updated successfully, but these errors were encountered:
Hi, the plane orientation itself will depend of the shape of the detected plane, but if you want to place an object on it, you can adjust its orientation to always be aligned with Y axis.
For example in HelloAR, when we place an Andy model, it's always looking at the camera: https://github.com/google-ar/arcore-unity-sdk/blob/master/Assets/GoogleARCore/Examples/HelloAR/Scripts/HelloARController.cs#L136. It's not the same transformation, but I think you can do something similar to have your object aligned with Y. Let me know if this helps.
I have used that trick before, but it made it depending on phone position and rotation. It would be great if user had been using stationary tripod, but it is not a solution.
Is this possible to set object on vertical plane with rotation pararell to horizontal plane? For example image frame or tv screen - I would like to place it wall-sticky but I get random rotation in y-axis.
The text was updated successfully, but these errors were encountered: