For a final year project whilst at university, I built a game within Unity 3D game engine to showcase the use of behaviour trees. The game features a dynamically created pathfinding grid with terrain movement costs, with AI using the A* algorithm, as well as full behaviour trees for a variety of AI types.
Report: Programming AI for Games Report.
Source: Github.
- Code of a behaviour tree.
- The Companion
- Visualisation of the companion determining follow positions.
- Pathfinding Nodes visualised.

