Include the following details (edit as applicable):
- Issue category: Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS
- Device type & OS version: iOS iPhone 13
- Host machine & OS version: Mac
- Issue Environment : On Device
- Xcode version: newest (13 i think)
- ARDK version: 2.1
- Unity version: 2021.3
Description of the issue:
Hi there,
i am currently experimenting with georeferenced POI with Lightship, and while testing I noticed problems with the accurate placement of prefabs in the surroundings.
To test this behavior, I placed four differently colored prefabs along the x- and z-axis (eg: Vector3(1, 0, 0)) and recorded if they are placed correctly. I expected the prefabs to be placed along the coordinate system of a horizontally placed phone (x-axis from the center to the top of the screen; z-axis from the center to the left of the screen) but they where always a little shifted:
As you can see on the picture, I am facing in the direction of approx. 158° (measured by the compass). The top angle is the angle recorded during opening of the app, the bottom one is the current angle updated every frame. I am looking in the exact same direction as in the beginning when the app was opened, but the green cube is not placed along the black line where it should be, if the placement along the x-axis would have worked, but to the left of it along the red line.
Does anyone know how accurate the prefab placement and displaying is? Am I making any mistakes with the coordinate system? Are there any options (without VPS) to place objects more accurately around the user?
Just for the information: I am using Depth and Segmentation (sky)
Thanks for your help,
Josef