HPGE: An Haptic Plugin for Game Engines

  • Nicolò Balzarotti
  • Gabriel Baud-BovyEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11385)


In this paper we present HPGE, an Haptic Plugin for Game Engines. Based on CHAI3D, it aims at providing an easy way to integrate haptics in game engines. HPGE provides C and C# bindings to be usable with almost any game engine or software. In addition, HPGE provides Unity3D C# scripts to facilitate the integration with Unity3D. Thanks to this plugin, it is possible to take advantage of the CHAI3D force-rendering algorithms and Unity3D Graphical User Interfaces to develop serious games. The paper goes through the requirements of such plugin, the issues that need to be addressed, to conclude with a description of the implementation and usage of the plugin.



This work has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under Grant Agreement No. 732391 (weDRAW Project).


  1. 1.
    Balzarotti, N., Baud-Bovy, G.: Effects of CHAI3D texture rendering parameters on texture perception. In: Prattichizzo, D., Shinoda, H., Tan, H.Z., Ruffaldi, E., Frisoli, A. (eds.) EuroHaptics 2018. LNCS, vol. 10893, pp. 138–149. Springer, Cham (2018). Scholar
  2. 2.
    Barbagli, F., Frisoli, A., Salisbury, K., Bergamasco, M.: Simulating human fingers: a soft finger proxy model and algorithm, pp. 9–17, March 2004Google Scholar
  3. 3.
    Basdogan, C., Srinivasan, M.A.: Haptic rendering in virtual environments. In: Stanney, K.M., Hale, K.S. (eds.) Handbook of Virtual Environments, vol. 1, pp. 117–134. Lawrence Erlbaum Inc., Mahwah (2002)Google Scholar
  4. 4.
    Baud-Bovy, G., Balzarotti, N.: Using force-feedback devices in educational settings: a short review. In: Proceedings of the 1st ACM SIGCHI International Workshop on Multimodal Interaction for Education, MIE 2017, pp. 14–21. ACM, New York (2017)Google Scholar
  5. 5.
    Baud-Bovy, G., Tatti, F., Borghese, N.A.: Ability of low-cost force-feedback device to influence postural stability. IEEE Trans. Haptics 8(2), 130–139 (2015)CrossRefGoogle Scholar
  6. 6.
    Breuer, J., Bente, G.: Why so serious? On the relation of serious games and learning. J. Comput. Game Cult. 4(1), 7–24 (2010)Google Scholar
  7. 7.
    Conti, F., et al.: The CHAI libraries. In: Proceedings of Eurohaptics 2003, Dublin, Ireland, pp. 496–500 (2003)Google Scholar
  8. 8.
    Cuevas-Rodriguez, M., Poyade, M., Reyes-Lecuona, A., Molina-Tanco, L.: A VRPN server for haptic devices using OpenHaptics 3.0. In: Penichet, V., Peñalver, A., Gallud, J. (eds.) New Trends in Interaction, Virtual Reality and Modeling. HCIS, pp. 73–82. Springer, London (2013)CrossRefGoogle Scholar
  9. 9.
    Djaouti, D., Alvarez, J., Jessel, J.-P.: Classifying serious games: the G/P/S model. In: Felicia, P. (ed.) Handbook of Research on Improving Learning and Motivation Through Educational Games: Multidisciplinary Approaches, pp. 118–136. IGI Global, Hershey (2011)CrossRefGoogle Scholar
  10. 10.
    Grunwald, M.: Human Haptic Perception: Basics and Applications. Springer, Basel (2008). Scholar
  11. 11.
    Kadleček, P., Kmoch, S.P.: Overview of current developments in haptic APIs. In: Proceedings of CESCG. Citeseer (2011)Google Scholar
  12. 12.
    Paul, P.S., Goon, S., Bhattacharya, A.: History and comparative study of modern game engines. Int. J. Adv. Comput. Math. Sci. 3(2), 245–249 (2012)Google Scholar
  13. 13.
    Pirovano, M., Mainetti, R., Baud-Bovy, G., Lanzi, P.L., Borghese, N.A.: Intelligent game engine for rehabilitation (IGER). IEEE Trans. Comput. Intell. AI Games 8(1), 43–55 (2016)CrossRefGoogle Scholar
  14. 14.
    Salisbury, K., Conti, F., Barbagli, F.: Haptic rendering: introductory concepts. IEEE Comput. Graphics Appl. 24(2), 24–32 (2004)CrossRefGoogle Scholar
  15. 15.
    Srinivasan, M.A., Basdogan, C.: Haptics in virtual environments: taxonomy, research status, and challenges. Comput. Graph. 21(4), 393–404 (1997)CrossRefGoogle Scholar
  16. 16.
    Tobler-Ammann, B.C., et al.: Exergames encouraging exploration of hemineglected space in stroke patients with visuospatial neglect: a feasibility study. JMIR Serious Games 5(3), e17 (2017)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Robotics, Brain and Cognitive Science DepartmentIstituto Italiano di Tecnologia, GenovaGenovaItaly
  2. 2.DIBRIS, Università degli Studi di GenovaGenovaItaly
  3. 3.Faculty of PsychologyVita-Salute San Raffaele University & Unit of Experimental Psychology, IRCCS San Raffaele Scientific InstituteMilanItaly

Personalised recommendations