Navmesh: testing for any obstruction within an area
I'm looking for some way (from C++) to test if an area is wholly navigable. For example, take a point on the nav mesh and then test whether there are any obstructions (i.e. non-navigable space) within a radius.
There is an easy, though inefficient, fallback, which is to project a point to the navmesh and then cast some rays radially to find obstructions. I'm hoping though there is a better area/area operation that can be used.
It seems like testing an area for clear navigability should be a pretty common operation -- am I just not finding it?
asked Dec 11 '14 at 04:57 PM in C++ Programming
There is a function that does just that in Recast lib,
I'll implement a wrapper and submit it today.
answered Dec 11 '14 at 08:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here