On Android/ARcore Map Trackables are supported with Cloud Anchors.
On Android/ARCore Map Trackables are supported with Google Cloud Anchors.
Cloud Anchors are anchors that are hosted on the ARCore API cloud endpoint. This hosting enables users to share experiences in the same app: see https://developers.google.com/ar/develop/cloud-anchors
Cloud Anchors are anchors that are hosted on the ARCore API cloud endpoint. This hosting enables users to share experiences in the same app: see https://developers.google.com/ar/develop/cloud-anchors
...
@@ -91,4 +91,15 @@ A second possibility is to add the support for ARKit GeoTracking: https://develo
...
@@ -91,4 +91,15 @@ A second possibility is to add the support for ARKit GeoTracking: https://develo
This feature is not implemented yet due to the small number of places supported (see https://developer.apple.com/documentation/arkit/argeotrackingconfiguration)
This feature is not implemented yet due to the small number of places supported (see https://developer.apple.com/documentation/arkit/argeotrackingconfiguration)
#### Android: Google GeoSpatial ####
#### Android: Google GeoSpatial ####
To come
\ No newline at end of file
On Android/ARCore Geo Trackables are supported with Google Geospatial Anchors.
Geospatial Anchors are anchors that are hosted on the ARCore API cloud endpoint. This hosting enables users to share experiences in the same app using GPS and Google Earth data: see https://developers.google.com/ar/develop/geospatial
For using ARCore Geospatial Anchors you need to:
* Add the the arcore unity extensions package as a dependency of the Unity project https://github.com/google-ar/arcore-unity-extensions
* Add to the runtime asmdef of this package a reference to Google.XR.ARCoreExtensions.asmdef
* Add a new Script Define Symbol in the Unity project settings: "ETSIARF_ARCORE_EXTENSIONS"
* Then, follow the instructions detailed here https://developers.google.com/ar/develop/unity-arf/geospatial/enable-android and here https://developers.google.com/ar/develop/authorization?platform=unity-arf to configure the project and your google cloud account
To use a Geo Pose Trackable that corresponds to a Google Geospatial Anchor, the payload of the Trackable in the World Storage must be an array of doubles following this format : [latitude, longitude, altitude, rotationX, rotationY, rotationZ] in base 64.