Placing objects in real world location(longitude and latitude)

Hi,
It’s possible to place an object in real world location? I managed to locate a user location but I’m trying to place some writing on a single wall in my room(based on coords).
What I mean is that can I place an object with a longitude, latitude and specific orientation?

Hello Chisalita,
Currently, the attachment of any sort of arbitrary data to anchors is not supported. It’s certainly something that is possible by using the unique identifier of each anchor, however anchors can only be constructed based on positions relative to the coordinate space of the session (which is not persistent).

In response to geo-based anchors, the LocationService is just a wrapper around Unity’s GPS API, so that could be used as well, but again it is not currently utilizing any hooks or additional features specific to that in the ARDK. Thankfully, options to create anchors based on specific identifiers are in internal development though not currently available.

So, to implement functions to go to/from GPS coordinates (lat, lon) and the cartesian (x, y, z) coordinate system of the tracking system. This can be done by using GPS/compass while the AR Session is running, but the implementation needs to be done on the developer side.

Anchor documentation: https://lightship.dev/docs/tracking_ar_anchors.html.

Location Service: https://lightship.dev/docs/namespace_niantic_1_1_a_r_d_k_1_1_location_service.html#a87bcaf2815051f95ac3ef8614a9f2472

1 Like