Skip to main content

From GAMA model to Virtual Universe ‐ case of a traffic model

Turorial

Objectives

This tutorial shows how to build a complete virtual environment with interactions from an existing GAMA model. In this tutorial, we start with the traffic model included in the GAMA model library. In this model, vehicles travel on a road network from building to building. The greater the number of vehicles on a road relative to its capacity, the slower the vehicles will move along the road. In addition, each vehicle emits pollutants into the air. The VR version we propose in this tutorial allows you to navigate with a manager's view of the world and to close/open roads.

Requirements

  • GAMA 2025-06 and the Unity Plugin for GAMA. Information about the installation of the plugin can be found here.
  • Unity 6.3. Information about the installation of Unity can be found here.

Steps

  1. Generation of the basic GAMA model
  2. Creation of the Unity basic game
  3. Adding interactions