Toggle toolkit: A tool for conducting experiments in unity virtual environments
Language English Country United States Media print-electronic
Document type Journal Article, Research Support, Non-U.S. Gov't
PubMed
33409983
DOI
10.3758/s13428-020-01510-4
PII: 10.3758/s13428-020-01510-4
Knihovny.cz E-resources
- Keywords
- 3D visualization, Behavioral analysis, Dynamic visualization, Event logger, Experiment design, Interactivity, Virtual environment, Virtual reality,
- MeSH
- Humans MeSH
- User-Computer Interface MeSH
- Virtual Reality * MeSH
- Check Tag
- Humans MeSH
- Publication type
- Journal Article MeSH
- Research Support, Non-U.S. Gov't MeSH
This article presents and offers Toggle Toolkit, which is an original collection of Unity scripts designed to control various aspects of interactive 3D experiments. The toolkit enables researchers in different fields to design, conduct and evaluate experiments and include interactive elements in immersive virtual environments. This was achieved by using the internal functionalities of the Unity engine and solutions of our own design. The structure of Toggle Toolkit allows triggers and toggles to be allocated to existing virtual objects and throughout the Unity scene. Once a trigger is executed (with a pre-described action, such as colliding with a virtual object, pressing a key, gazing at an object, etc.), the toggles associated with the trigger are activated and then change the attributes or behaviors of linked objects. All interactive behavior is logged and made available for further statistical analysis. Examples of applications in research are presented and discussed. The Toggle Toolkit's utility lies in its simplicity and modularity. The Toolkit was especially produced for experimenters with few coding skills and high customization requirements in their experiments. The tool is freely available for use in research and can be enhanced with custom scripts. A video tutorial is provided to facilitate use of the tool. The paper aims to not only introduce beginners to experimentation with VR but also offers more experienced researchers who are potentially interested in using and adjusting the features the Toolkit a deeper insight into its structure.
See more in PubMed
2D Game Kit Reference Guide (2017). Retrieved from https://learn.unity.com/tutorial/2d-game-kit-reference-guide
Alcañiz, M., Rey, B., Tembl, J., Parkhutik, V. (2009). A Neuroscience Approach to Virtual Reality Experience Using Transcranial Doppler Monitoring. Presence: Virtual and Augmented Reality 18(2), 97-111. https://doi.org/10.1162/pres.18.2.97
Baron, D. (2019). Hands-on game development patterns with Unity 2019: create engaging games by using industry-standard design patterns with C#. Birmingham, UK: Packt Publishing.
Brookes, J., Warburton, M., Alghadier, M., Mon-Williams, M., & Mushtaq, F. (2019). Studying human behavior with virtual reality: The Unity Experiment Framework. Behavior Research Methods. https://doi.org/10.3758/s13428-019-01242-0
Caputo, F. M., Emporio, M., & Giachetti, A. (2018). The Smart Pin: An effective tool for object manipulation in immersive virtual reality environments. Computers & Graphics, 74, 225–233. https://doi.org/10.1016/j.cag.2018.05.019 DOI
Čeněk, J., Tsai, JL., Šašinka, Č. (2020). Cultural Variations in Global and Local Attention and Eye-Movement Patterns during the Perception of Complex Visual Scenes: Comparison of Czech and Taiwanese University Students. PLoS ONE 15(11). https://doi.org/10.1371/journal.pone.0242501
Clay, V., König, P., & König, S. (2019). Eye Tracking in Virtual Reality. Journal of Eye Movement Research, 12(1), 1–18. https://doi-org.ezproxy.muni.cz/10.16910/jemr.12.1.3 DOI
Cornelissen, F.W.; Peters, E.M.; Palmer, J. The EyeLink Toolbox: Eye tracking with MATLAB and the Psychophysics Toolbox. Behav. Res. Method. Instrum. Comput. 2002, 34, 613–671. DOI
Cuervo, E., Chintalapudi, K., & Kotaru, M. (2018). Creating the Perfect Illusion. Proceedings of the 19th International Workshop on Mobile Computing Systems & Applications - HotMobile 18. https://doi.org/10.1145/3177102.3177115
D., R., (2015, September 29). The maturity of visual programming. Retrieved from https://craft.ai/blog/the-maturity-of-visual-programming
Diersch, N., & Wolbers, T. (2019). The potential of virtual reality for spatial navigation research across the adult lifespan. The Journal of Experimental Biology, 222(Suppl 1). https://doi.org/10.1242/jeb.187252
Fuad, M. (2019, December 17). XR Interaction Toolkit Preview Package is here - Unity Technologies Blog. Unity Technologies Blog. Retrieved from https://blogs.unity3d.com/2019/12/17/xr-interaction-toolkit-preview-package-is-here/
Gibson, J. J. (1977). The theory of affordances. Hilldale, USA, 1(2).
Gould, N. F., Holmes, M. K., Fantie, B. D., Luckenbaugh, D. A., Pine, D. S., Gould, T. D., & Zarate, C. A. (2007). Performance on a virtual reality spatial memory navigation task in depressed patients. American Journal of Psychiatry, 164(3), 516–519. https://doi.org/10.1176/ajp.2007.164.3.516 . DOI
Grübel, J., Thrash, T., Hölscher, C., & Schinazi, V. R. (2017). Evaluation of a conceptual framework for predicting navigation performance in virtual reality. PLoS one, 12(9), e0184682. doi: https://doi.org/10.1371/journal.pone.0184682 PubMed DOI PMC
jBPM (2020). Retrieved from https://www.jbpm.org/
Kovalčík, V., Chmelík, J., Bezděka, M., & Sochor, J. (2012). Virtual reality system as a tool for education. In Václav Skala (Ed.), paper presented at the WSCG Poster proceedings (15-18). Plzen: Union Agency.
Kubíček, P., Šašinka, Č., Stachoň, Z., Herman, L., Juřík, V., Urbánek, T., & Chmelík, J. (2017). Identification of altitude profiles in 3D geovisualizations: the role of interaction and spatial abilities. International Journal of Digital Earth, 12(2), 156–172. https://doi.org/10.1080/17538947.2017.1382581 DOI
Loomis, J. M., Blascovich, J. J., & Beall, A. C. (1999). Immersive virtual environment technology as a basic research tool in psychology. Behavior Research Methods, Instruments, & Computers, 31(4), 557–564. https://doi.org/10.3758/bf03200735 DOI
Mathôt, S.; Schreij, D.; Theeuwes, J. OpenSesame: An open-source, graphical experiment builder for the social sciences. Behavior Research Method. 2012, 44, 314–324. DOI
Moghadam, K. R., Banigan, C., & Ragan, E. D. (2018). Scene Transitions and Teleportation in Virtual Reality and the Implications for Spatial Awareness and Sickness. IEEE Transactions on Visualization and Computer Graphics, 1–1. https://doi.org/10.1109/tvcg.2018.2884468
Neuro behavioral systems, Inc. Available online: www.neurobs.com (accessed on 24 February 2017).
Paradigm. Available online: http://www.paradigmexperiments.com (accessed on 24 February 2017).
Parong, J., & Mayer, R. E. (2018). Learning science in immersive virtual reality. Journal of Educational Psychology, 110(6), 785–797. https://doi.org/10.1037/edu0000241 DOI
Samek, M. (2008). Practical UML Statecharts in C/C++, Second Edition: Event-Driven Programming for Embedded Systems. London, UK: Routledge. DOI
Sewell, B. (2015). Blueprints visual scripting for unreal engine: build professional 3D games with Unreal Engine 4s Visual scripting system. Birmingham: Packt Publishing.
Šašinka, Č., Morong, K., Stachoň, Z. (2017). The Hypothesis Platform: An Online Tool for Experimental Research into Work with Maps and Behavior in Electronic Environments. International Journal of Geo-Information, 6(12). https://doi.org/10.3390/ijgi6120407
Singer, G. (2013). The History of the Modern Graphics Processor. Retrieved from: http://www.techspot.com/article/650-history-of-the-gpu/
Smith, S. P., & Trenholme, D. (2009). Rapid prototyping a virtual fire drill environment using computer game technology. Fire Safety Journal, 44(4), 559–569. https://doi.org/10.1016/j.firesaf.2008.11.004 DOI
Snopková, D., Ugwitz, P., Stachoň, Z., Hladík, J., Kvarda, O., & Kubíček, P. (2020). Can increased visual accessibility and signage suppress retracing evacuation tendencies in unfamiliar buildings? A Virtual reality game-based experiment. Manuscript submitted for publication.
Unity Manual: Components (2020). Retrieved from: https://docs.unity3d.com/Manual/Components.html
Unity Manual: LoD (2020). Retrieved from https://docs.unity3d.com/Manual/LevelOfDetail.html
Unity Scripting Reference (2020). Retrieved from: https://docs.unity3d.com/ScriptReference/
Vasser, M., Kängsepp, M., Magomedkerimov, M., Kilvits, K., Stafinjak, V., Kivisik, T., Vicente, R., & Aru, J. (2017). VREX: an open-source toolbox for creating 3D virtual reality experiments. BMC Psychology. https://doi.org/10.1186/s40359-017-0173-4
Vizard. Virtual Reality software for researchers (2020). Retrieved from https://worldviz.com/vizard-virtual-reality-software