I was working in IOS when I moved to Android only to see that everything fell apart. So far, I cannot move forward with Niantic SDK if Android isn’t going to work as expected.
Thanks for reaching out. Give me some time to look into the issue on my end. Are there any videos that you can share as well to get a concrete idea of what I should be looking at.
In the original post I described what you have to do in order to check it:
Modify VPS2 sample to display the camera coordinates
Scan something to use it in the VPS2 sample
Run the VPS2 sample in IOS observe the X,Y,Z coordinates work as expected
Run the VPS2 sample in Android observe that X,Y coordinates are flipped.
I tried to make a conversion by myself unsuccessfully, but it makes no sense that the same code is working fine in IOS and is totally broken in Android. Investigating I’ve found some issues in regards with AR Foundation swapping the axis. It’s up to you to fix the core, I cannot do it from my side.
In the original post I described what you have to do in order to check it:
Modify VPS2 sample to display the camera coordinates
Scan something to use it in the VPS2 sample
Run the VPS2 sample in IOS observe the X,Y,Z coordinates work as expected
Run the VPS2 sample in Android observe that X,Y coordinates are flipped.
I tried to make a conversion by myself unsuccessfully, but it makes no sense that the same code is working fine in IOS and is totally broken in Android. Investigating I’ve found some issues in regards with AR Foundation swapping the axis. It’s up to you to fix the core, I cannot do it from my side.