Download

Conspicuous lack of Recast and Detour Documentation?

Is there really not any documentation other than raw API documentation for using recast/detour? It feels like so many people have issues making use of a 3D/flying navmesh that they end up reinventing the wheel or creating their own A* and/or octree implementation instead of using the Recast/Detour components that are natively available.

Am I missing something? Is there some common/assumed documentation everyone “just knows”? …or is it really so lightly documented that creating one’s own A* and/or octree system is faster/easier/etc? I am not necessarily opposed to creating my own, it just feels weird to have a fairly powerful navigation and pathfinding system that is ignored in favor of naive/simple implementations.

EDIT: I should clarify that I’m referring to a solution(s) that uses the builtin systems in a relatively simple fashion. It feels strange to have so many full-featured systems/subsystems, but we have to ignore it all to create 3D path finding that includes Z-axis movement (read: flying).

Making flying characters is not particularly hard with the built-in system. The main challenge is that a flying character can go anywhere; there’s very few areas they need to avoid!

What many games do for “flying” is to actually do the navigation on the ground, but then translate the character up in the air. A game like Starcraft II shows off this method, for example. The “flyer” may be able to traverse kinds of terrain that “walkers” cannot, but that’s not that different from “walkers” being able to traverse terrain that “swimmers” cannot.

^ This ^ is kind of an understated point. Z-axis flying makes a lot of ground-level pathfinding solutions obsolete. The other point is that Epic don’t do docs, not really. They offer genius tech and they spend lots of time on docs. But what comes out of it? IDK

So what can you do? Its reasonably simple to implement a flying system that operates between points with dynamic obstacle avoidance (tracing). For 100’s of actors anyway. If you need something larger scale, then you may have to look at some ECS options.

There’s a long running community-supported Plugin too that you can find in Community-Tools as well (Don’s 3D flying / pathfinding). Seems like lots of devs are using that. And of course you can look to flocking solutions with particles or meshes to help sell the effect.