Guess the time at which the player initially moved away from a fixed position. This is evaluated within the horizontal plane only (2D). If ref_pos is given, then the function evaluates the orthogonal distance along the line pos-ref_pos (This function is a legacy wrapper for guess_move_at_pos())

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

Arguments

pos

A list containing pos_x pos_y pos_z of fixed position.

ref_pos

Optional: a second list of the same type

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.