Class RVONavmesh Extends GraphModifier
Adds a navmesh as RVO obstacles.
Add this to a scene in which has a navmesh or grid based graph, when scanning (or loading from cache) the graph it will be added as RVO obstacles to the RVOSimulator (which must exist in the scene).
You should only have a single instance of this script in the scene, otherwise it will add duplicate obstacles and thereby increasing the CPU usage.
If you update a graph during runtime the obstacles need to be recalculated which has a performance penalty. This can be quite significant for larger graphs.
In the screenshot the generated obstacles are visible in red.
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here
This component is deprecated. Local avoidance colliders never worked particularly well and the performance was poor. Modify the graphs instead so that pathfinding takes obstacles into account.
Public Variables
Height of the walls added for each obstacle edge.
Inherited Public Members
Called after graphs have been updated using GraphUpdateObjects or navmesh cutting.
Private/Protected Members
Unique persistent ID for this component, used for serialization.
Maps persistent IDs to the component that uses it.