1. Home
  2. Docs
  3. GO Map – Documentation
  4. Avatar
  5. Avatar Mode

Avatar Mode

To enable this mode you have to select “AVATAR” under “motionMode” in the LocationManager inspector and link your avatar gameobject to it. In this way the location manager will constantly monitor the avatar’s transform.position, converting it to gps coordinates system. The converted gps location it’s used to generate the currentLocation events and build the terrain tiles.
Your avatar group has to have some script to move around the world, independently from gps updates.
Note that you have to select an initial location in the LocationManager from the list or input some coordinates and select “custom”.

Basically when the app is running it works like this:

  1. Location manager sets the world origin as the chosen demo location then starts to monitor your avatar transform.position.
  2. GOMap builds the nearby map.
  3. Move your avatar with the controls you want, and the location manager will be aware of that, loading a new map section when your character is about to reach the edge of the map.

Was this article helpful to you? Yes No

How can we help?