Skip to main navigation Skip to search Skip to main content

Real-Time Panic Propagation in Bidirectional Crowds for Games

  • Florian Martin Guggenberger

    Student thesis: Master's Thesis

    Abstract

    Crowd systems in games handle movement well and can react to threats, but few sim
    ulate contagious panic: the process by which one person’s fear raises the fear of those
    around them until the crowd itself becomes dangerous. This thesis builds a real-time
    panic propagation prototype in Unity that closes that gap, operating within game
    engine frame budgets while staying grounded in crowd dynamics research. The setting
    is a narrow sloped alley with two opposing pedestrian streams. Each agent carries a
    continuous panic level driving four states: Calm, Alert, Panic, and Injured. Panic also
    rises through the sight and sound of a scripted incident and is amplified, though never
    triggered on its own, by local crowding, and it decays at a constant rate once stimuli
    stop. Movement runs on Unity’s navigation layer, extended by a keep-right side prefer
    ence, a contact-range personal-space force, and a deterministic right-of-way rule. Social
    groups are implemented as an extension but are not part of the evaluation. The system
    is evaluated through an ablation of 51 runs across eleven configurations that switches
    each mechanism on and off in turn. Contagion is what turns a local incident into a
    spreading wave: without it, panic stays confined to those who perceive the incident and
    dies within half a minute, while with it a self-sustaining front crosses the scene and per
    sists. Crowd density governs what follows: a sparse crowd is bistable, with two of five
    runs dying out and three re-igniting, while a dense crowd saturates. Within the model,
    panic clears a dense jam rather than blocking it: faster agents drain the corridor. That
    is only possible because the model deliberately omits the body-contact physics behind
    the real faster-is-slower effect. The same runs injure 9 per cent of the dense crowd, so
    it should not be read as a benefit. The prototype holds interactive frame rates at its
    target crowd size.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorAndreas Ernst Riegler (Supervisor)

    Studyprogram

    • Interactive Media

    Cite this

    '