Device location is important
Since AR is an interaction between the user and AR content, the position of the user’s point of view = the position of the device is important.
You can get the location of the device with ARKit
Get device position
SIMD3 (0.0, 0.0, 0.0)
SIMD3 (9.0870006e-10, 4.1317643e-09, -3.1889111e-09)
SIMD3 (-2.9535964e-05, -4.5597553e-06, -9.115785e-06)
SIMD3 (-3.6674974 ) e-05, -2.1950224e-05, -2.2978664e-05)
You can get the coordinates of X-axis, Y-axis, and Z-axis.
Distance from the target coordinates
1.0562732
It is in meters.
🐣
I’m a freelance engineer.
Work consultation
Please feel free to contact us with a brief development description.
rockyshikoku@gmail.com
I am making an app that uses Core ML and ARKit.
We send machine learning / AR related information.