Contributions to Recast/Detour

Published on .

In a previous post I've announced that, as a part of our work on MASA LIFE, the team will work with Recast/Detour and that we would release our updates to the community.

This have been effective since the beginning of the summer and we're just releasing today a new version which is the first to be used in a released version of MASA LIFE, the upcoming (if all goes well, this week) v1.2. Our work is available on github at

Introduced features

Modular crowd framework

DetourCrowd was a rather monolithical, we redesigned a large part of its basic framework with two goals in mind: modularity and usage safety. In the process we introduced several new concepts:

We introduced unit tests on 'DetourCrowd' in order to test the new features we introduced. We chose to use Catch mainly because it is dependency free and with an active community.

Additionally we created a simple framework to create functional visual tests for navigation based on JSON configuration files.

Known issues

This fork is still very young and several issues are remaining. The most important being:

  • Bad usage of the pathfinding queue in the path following behavior;
  • Dumb neighbors retrieving, we had to remove the previous proximity grid that couldn't work properly with multi-level scenes;
  • Removal of the navigation test features from the RecastDemo application, we didn't took the time to port them to the new framework.

Once we are fully happy with our state, we'll send a pull request to Mikko and make these updates part of the "main" repository. In the meantime contributions and issue reporting are welcome!

We have nice features in the MASA LIFE pipe that will surely lead to new contributions. I'll keep the community in touch on this blog or on the Recast Google Group.