DUDigital Urban

← Latest

3D Modelling 18.04.2013 1 min read

Shortest Path Modelling and NavMesh in Unity and CityEngine

Andy CASA, UCL East

Shortest path network analysis, pedestrian modelling and moving agents around complex city scenes has always been a specialised domain. As regular readers will know we have always taken the view that game engines are arguably better suited to agent based modelling - especially in terms of pedestrian and transport than more traditional packages.

Agents in Unity
Agents in Unity
With a mix of Unity NavMesh and some simple Javascript it is possible to create a city wide navigation mesh. Below is out first example using agents to follow a target (viewable in 1080p):
We will be exploring this further over coming weeks...