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).
Warning
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.
A* Pro Feature:
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
Deprecated
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.
Called after graphs have been updated.
Called before graphs are updated using GraphUpdateObjects.
Called at the end of the scanning procedure.
Called after cached graphs have been loaded.
Called after a graph has been deserialized and loaded.
Called right after all graphs have been scanned.
Called right before graphs are going to be scanned.
Triggers an event for all active graph modifiers.
Private/Protected Members
Removes this modifier from list of active modifiers.
Adds this modifier to list of active modifiers.
Handle serialization backwards compatibility.
Handle serialization backwards compatibility.
Unique persistent ID for this component, used for serialization.
Maps persistent IDs to the component that uses it.