Provide for a participant the propensity to look around (PLA) compared to completing the path. The underlying assumption (due to control constraints) is that if people walk they are on "path" and that if they look around without moving they "explore". We compute PLA by comparing the view direction with the path direction. To account for the symmetry of the view direction (i.e. negative and positive angles could cancel each other out), we take the absolute view angle.
Since the view direction is 3D, we will use quaternions to sum all angels before normalising. The final quaternion will be used to derive the angle between the unit path direction vector and the averaged view direction.
Additionally, we can compute a standard deviation from the final view angle to each individual view angel to assess how much participants PLA varies.
We will use RSpincalc for quaternion computations.
Provide for a participant the propensity to look around (PLA) compared to completing the path. The underlying assumption (due to control constraints) is that if people walk they are on "path" and that if they look around without moving they "explore". We compute PLA by comparing the view direction with the path direction. To account for the symmetry of the view direction (i.e. negative and positive angles could cancel each other out), we take the absolute view angle.
Since the view direction is 3D, we will use quaternions to sum all angels before normalising. The final quaternion will be used to derive the angle between the unit path direction vector and the averaged view direction.
Additionally, we can compute a standard deviation from the final view angle to each individual view angel to assess how much participants PLA varies.
We will use RSpincalc for quaternion computations.