Studying Human Behaviour with Virtual Reality: The Unity Experiment Framework

Virtual Reality systems offer a powerful tool for human behaviour research. The ability to create three-dimensional visual scenes and measure responses to the visual stimuli enables the behavioural researcher to test hypotheses in a manner and scale that were previously unfeasible. For example, a researcher wanting to understand interceptive timing behaviour might wish to violate Newtonian mechanics, so objects move in novel 3D trajectories. The same researcher may wish to collect such data with hundreds of participants outside the laboratory (e.g. in a museum), and the use of a VR headset makes this a realistic proposition. The difficulty facing the researcher is that sophisticated 3D graphics engines (such as Unity) have been created for game designers rather than behavioural scientists. In order to overcome this barrier, we have created a set of tools and programming syntaxes that allow logical encoding of the common experimental features required by the behavioural scientist. The Unity Experimental Framework (UXF) allows the researcher to readily implement several forms of data collection, and provides researchers with the ability to easily modify independent variables. UXF does not offer any stimulus presentation features, so the full power of the Unity game engine can be exploited. We use a case study to show how UXF can support behavioural research and remote deployment of experiments (where data are streamed over the internet and accessed later by researchers). In summary, UXF presents an opportunity to simplify and speed up development of virtual reality experiments created in commercial VR software.

[1]  Jonathan W. Peirce,et al.  PsychoPy—Psychophysics software in Python , 2007, Journal of Neuroscience Methods.

[2]  Mark Mon-Williams,et al.  What does virtual reality NEED?: human factors issues in the design of three-dimensional computer environments , 1996, Int. J. Hum. Comput. Stud..

[3]  J. Loomis,et al.  Immersive virtual environment technology as a basic research tool in psychology , 1999, Behavior research methods, instruments, & computers : a journal of the Psychonomic Society, Inc.

[4]  D H Brainard,et al.  The Psychophysics Toolbox. , 1997, Spatial vision.

[5]  Faisal Mushtaq,et al.  Children’s head movements and postural stability as a function of task , 2014, Experimental Brain Research.

[6]  M. Arditti Unity , 1957, Journal of the Irish Medical Association.