Guess the time at which the player initially moved away from a fixed position

guess_move_from_pos(
  pos,
  ref_movement,
  max_dist = 0.2,
  min_time = min(ref_movement$time),
  max_time = max(ref_movement$time)
)

Arguments

pos

A list containing `x` `y` `z` of fixed position.

ref_movement

A data frame with reference movement, e.g. the head or the waist movement. Movement file should have `pos_x`, `pos_y`, `pos_z` columns.

max_dist

Maximum distance in meters before player is classified as away from the position

Value

A time stamp (Unity time) representing the time when the participant initially moved from the position.