Class PathNNConstraint Extends NNConstraint
A special NNConstraint which can use different logic for the start node and end node in a path.
A PathNNConstraint can be assigned to the Path.nnConstraint field, the path will first search for the start node, then it will call SetStart and proceed with searching for the end node (nodes in the case of a MultiTargetPath).
The default PathNNConstraint will constrain the end point to lie inside the same area as the start point.
Public Methods
Called after the start node has been found.
Public Static Variables
Inherited Public Members
Area ID to constrain to.
Constrain distance to node.
Sets if tags should be constrained.
Constrain the search to only walkable or unwalkable nodes depending on walkable.
if available, do an XZ check instead of checking on all axes.
Graphs treated as valid to search on.
Returns a constraint which does not filter the results.
Returns whether or not the graph conforms to this NNConstraint's rules.
Nodes which have any of these tags set are suitable.