Abstract
Autonomous character behavior design is a key to the development of game artificial intelligence. Currently, collision avoidance technology, which is widely used in the field of robotics, cannot be directly applied to the autonomous character behavior design in racing games without specific adjustment. This paper makes some improvements to the classical Optimal Reciprocal Collision Avoidance (ORCA) algorithm to propose a novel collision avoidance algorithm (IORCA) suitable for racing games. Relevant concepts unique to racing games are put forward. The collision handling principles followed by racing AI on the straight lines and curves are further presented. By implementing the two systems equipped with ORCA and IORCA, the collision avoidance behavior of the racing AI in multiple scenarios are compared. It could be found that the collision avoidance behavior under IORCA is more suitable for racing games, and is able to give players a better gaming experience.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Lecchi, S.: Artificial intelligence in racing games. In: 2009 IEEE Symposium on Computational Intelligence and Games, p. 1. IEEE (2009)
Kontoudis, G.P., Vamvoudakis, K.G.: Robust kinodynamic motion planning using model-free game-theoretic learning. In: 2019 American Control Conference (ACC), pp. 273–278. IEEE (2019)
Reynolds, C.W.: Steering behaviors for autonomous characters. In: Game Developers Conference 1999, pp. 763–782 (1999)
D’apolito, F., Sulzbachner, C.: Collision avoidance for unmanned aerial vehicles using simultaneous game theory. In: 2018 IEEE/AIAA 37th Digital Avionics Systems Conference (DASC), pp. 1–5. IEEE (2018)
Liu, D., Shi, G., Li, W.: Decision support based on optimal collision avoidance path and collision risk. In: 2018 3rd IEEE International Conference on Intelligent Transportation Engineering (ICITE), pp. 164–169. IEEE (2018)
Agrawal, S., Varade, S.W.: Collision detection and avoidance system for vehicle. In: 2017 2nd International Conference on Communication and Electronics Systems (ICCES), pp. 476–477. IEEE (2017)
Gaur, L., Rizvi, I.: Improved Vehicle collision avoidance system. In: 2018 Second International Conference on Electronics, Communication and Aerospace Technology (ICECA), pp. 1071–1075. IEEE (2018)
Laurenza, M., et al.: Car collision avoidance with velocity obstacle approach: evaluation of the reliability and performance of the collision avoidance maneuver. In: 2019 IEEE 5th International forum on Research and Technology for Society and Industry (RTSI), pp. 465–470. IEEE (2019)
Rabin, S.: Game AI Pro3: Collected Wisdom of Game AI Professionals, p. 265. A. K. Peters, Ltd. (2017)
Guy, S.J., et al.: Clearpath: highly parallel collision avoidance for multi-agent simulation. In: Proceedings of the 2009 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, pp. 177–187 (2009)
Van den Berg, J., Lin, M., Manocha, D.: Reciprocal velocity obstacles for real-time multi-agent navigation. In: 2008 IEEE International Conference on Robotics and Automation, pp. 1928–1935. IEEE (2008)
Rabin, S.: Game AI Pro 2: Collected Wisdom of Game AI Professionals (2015)
Durand, N.: Constant speed optimal reciprocal collision avoidance. Transp. Res. Part C Emerg. Technol. 96, 366–379 (2018)
Van Den Berg, J., et al.: Reciprocal n-body collision avoidance. In: Robotics Research, pp. 3–19. Springer, Berlin (2011)
Baldi, T.L., et al.: Haptic guidance in dynamic environments using optimal reciprocal collision avoidance. IEEE Robot. Autom. Lett. 3(1), 265–272 (2017)
Jennett, C., et al.: Measuring and defining the experience of immersion in games. Int. J. Hum Comput Stud. 66(9), 641–661 (2008)
Brockmyer, J.H., et al.: The development of the Game Engagement Questionnaire: a measure of engagement in video game-playing. J. Exp. Soc. Psychol. 45(4), 624–634 (2009)
Author information
Authors and Affiliations
Contributions
The authors declare that there is no conflict of interest regarding the publication of this paper.
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
This work was supported by the National Natural Science Foundation of China under [Grant Number N180716019 and N182808003].
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Zhang, W., Gao, T. (2022). Improved Optimal Reciprocal Collision Avoidance Algorithm in Racing Games. In: Barolli, L., Yim, K., Chen, HC. (eds) Innovative Mobile and Internet Services in Ubiquitous Computing. IMIS 2021. Lecture Notes in Networks and Systems, vol 279. Springer, Cham. https://doi.org/10.1007/978-3-030-79728-7_21
Download citation
DOI: https://doi.org/10.1007/978-3-030-79728-7_21
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-79727-0
Online ISBN: 978-3-030-79728-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)