2. AR
- ARKit + SceneKit
- Real scale: 1 point in SceneKit = 1 meter in real world
- Auto align the virtual space with real world’s direction using compass
- If you put an object 1 points next to your current position along -Z axis it will appear 1 meter to
your north.
- Get the device’s location and calculate relative distance and direction of and
where to put them in virtual space.
3. AR Challenges
- I’ve never worked on ARKit or SceneKit or any 3D frameworks
- CoreLocation and SceneKit have different coordinate and direction system
(lat-long vs. XYZ axis, 0-360° vs. Euler Angles)
- Settings position, rotation or scale in SceneKit use 4x4 matrix.
- Indoor GPS is very very inaccurate.