- Home /
Question by
pavank1 · Feb 02, 2018 at 04:09 PM ·
uiiosaugmented-realityworld coordinates
ARKit space to Unity3D space
For a use case, I have to send a 3D world point that I compute in ARKit to Unity.
I have all the native interface setup and I receive the coordinate in Unity. However, the position doesn't line up in the world space of Unity as the coordinate has been calculated using ARKit camera pose.
How can I convert the ARKit space 3d point to Unity space?
Comment
Best Answer
Answer by pavank1 · Feb 02, 2018 at 09:12 PM
Have to flip the z coordinate
[unity_x,unity_y,unity_z] = [arkit_x, arkit_y,-1*arkit_z]
Hope this helps someone