Rigid body agent-based crowd simulation framework utilizing simplified ray casting, social forces model, and heat map parameters fitting

Authors

  • Tomasz Hachaj AGH University of Krakow, Faculty of Electrical Engineering, Automatics, Computer Science and Biomedical Engineering, Al. Mickiewicza 30, 30-059 Krakow, Poland
  • Jarosław Wąs AGH University of Krakow, Faculty of Electrical Engineering, Automatics, Computer Science and Biomedical Engineering, Al. Mickiewicza 30, 30-059 Krakow, Poland

DOI:

https://doi.org/10.14311/APP.2026.57.0090

Keywords:

crowd modeling, Social Forces Model, parameters fitting, heat map, agent system, rigid body

Abstract

This paper presents a novel rigid body agent-based crowd simulation framework utilizing a simplified Social Forces Model based on ray casting. This approach is specially designed to be integrated with simulation engines (which enable ray cast-based collision detection) and to take advantage of their other functionalities. We also present a parameter fitting method that minimizes the root mean square error (RMSE) between heat maps generated by real-world and simulated crowd motion. The intuitive RMSE value can therefore be used to evaluate the consistency of the simulation with the reference (real-world) data and can potentially be used for model parameter fitting. The dataset and source code are available for download so that our experiments can be reproduced.

Downloads

Download data is not yet available.

Downloads

Published

2026-06-19

How to Cite

Hachaj, T., & Wąs, J. (2026). Rigid body agent-based crowd simulation framework utilizing simplified ray casting, social forces model, and heat map parameters fitting. Acta Polytechnica CTU Proceedings, 57, 90–97. https://doi.org/10.14311/APP.2026.57.0090