Is there a way to get the position of the HoloLens user? I want to send the position of user back to PC and then update my hologram accordingly. Is there a way to do so? I haven't been able to find any API using which I can send back user's location to my computer.
We can use the initial position and orientation of user as origin and then calculate everything relative to it.
The best way to do this would be to use the HoloToolkit-Unity. You end up adding a prefab called "HoloLensCamera" to every HoloLens project. The starting position and rotation for the root GameObject of HoloLensCamera are always 0,0,0. As you move around, the values of position and rotation are updated relative to your movement.