Function NavmeshBase.FindNodeAroundVertex
FindNodeAroundVertex
(TriangleMeshNode node, TriangleMeshNode targetNode, Int3 vertexInGraphSpace, bool oppositeDirection)
Start at node, then walk around the given vertex and see if targetNode is reachable by doing this.
Private
Static
bool FindNodeAroundVertex (
node | The node to start from |
|
targetNode | The node to check if it is reachable |
|
vertexInGraphSpace | The vertex to walk around |
|
bool | oppositeDirection | If true, walk in the opposite direction around the vertex |
Start at node, then walk around the given vertex and see if targetNode is reachable by doing this.
Return
True if the target node is reachable