Skip to content
Jack Brookes edited this page Jun 16, 2018 · 12 revisions

The Tracker system allows for measurement of parameters in real-time (frame-by-frame) within a trial, and subsequently storing those measurements in a CSV file.

A common example would be measurement of the position and rotation of an object in the scene. This could be a GameObject which is tied to the user's physical movement such as a VR controller, or the mouse cursor. For this case, a component PositionRotationTracker has been included, which you can attach to any GameObject, and then subsequently reference in the Tracked Objects field in the Session inspector.

For tracking of other parameters - you can create a custom class that inherits from the UXF.Tracker, where you need to implement collection of the parameters you want to measure. See the PositionRotationTracker script as an example.

Measurement of parameters by tracker components is performed in Unity's LateUpdate() call.

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally