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.
Called after the start node has been found.
Public Static Variables
Inherited Public Members
The default NNConstraint.
Returns a constraint which does not filter the results.
Returns whether or not the node conforms to this NNConstraint's rules.
Returns whether or not the graph conforms to this NNConstraint's rules.
Area ID to constrain to.
Only treat nodes in the area area as suitable.
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.
Nodes which have any of these tags set are suitable.
Only search for walkable or unwalkable nodes if constrainWalkability is enabled.