Skip to content

Movement Tracker

Ciarán Malone edited this page Apr 11, 2022 · 3 revisions

Movement Tracker is built to track the player's position and timestamp at every specified time interval. The player's position will be tracked every x seconds if they have moved. Data will not be collected if the player has not moved.

Movement Tracker can go onto multiple game objects.

Data Generated:

{
    "_id": "61fbf210c8cd3d6a7af94c72",
    "SceneName": "SampleScene",
    "UniqueID": "8c552074",
    "objectName": "FPSController0",
    "sessionName": "8c552074-09f3-4819-b97f-3964212c28a8",
    "trackedPositions": [
        {
            "trackedPosition": {
                "x": 10.25,
                "y": 1.2825398445129395,
                "z": 45.25
            },
            "timeStamp": 2.5558483600616455
        },
  ...etc
  ]
}

Component:

image

  • Step Count.
    • how often is the position tracked (0.1 = 0.1second).
  • Track this Gameobject.
    • if true the component will track this specific component.
    • if false a field will display to add the object you wish to track.

If you wish to track your player across multiple scenes, it is possible by adding the component to the prefab.

Clone this wiki locally