EddyVerbruggen / nativescript-ar

Augmented Reality NativeScript plugin
https://www.nativescript.org/blog/preview-of-augmented-reality-in-nativescript
MIT License
118 stars 36 forks source link

Get current device position #81

Closed Felix212 closed 4 years ago

Felix212 commented 4 years ago

Hello i am trying get the current device position, but I can not find anything about it in the docs. I want to calculate the distance between a node and my device.

EddyVerbruggen commented 4 years ago

@Felix212 Good question!

It's actually not properly exposed by the plugin but it is there. Please check this demo code.

I'll add it to the API.