Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARGameObject position is incorrect when switching from MRTK2 to MRTK3 #59

Open
wangyanmeego opened this issue Sep 23, 2024 · 1 comment

Comments

@wangyanmeego
Copy link

Hi,

I am using the HLArUcoExample from this repository on a HoloLens 2 device. The project works perfectly with MRTK2, and the AR objects are recognized and positioned correctly. However, when switching to MRTK3, the ArUco marker recognition still works, but the ARGameObject's position is incorrect. Specifically, the ARGameObject keeps moving to my feet instead of the intended position.

Has anyone encountered this issue, or is there a recommended solution for MRTK3 compatibility?

Thank you!

@EnoxSoftware
Copy link
Owner

Hi,
We too are trying to migrate from MRTK2 to MRTK3
The way to fix the misalignment of the ARGameObject's position in the ArUco example is to change the Y in the “Camera Offset” position in the “XR Rig” from 1.6 to 0.
We will release an example package for MRTK3 soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants