A* Pathfinding Project
4.3.5
The A* Pathfinding Project for Unity 3D
|
Ending condition which stops a fixed distance from the target point. More...
Ending condition which stops a fixed distance from the target point.
Public Member Functions | |
EndingConditionProximity (ABPath p, float maxDistance) | |
override bool | TargetFound (PathNode node) |
Has the ending condition been fulfilled. More... | |
![]() | |
ABPathEndingCondition (ABPath p) | |
![]() | |
PathEndingCondition (Path p) | |
Public Attributes | |
float | maxDistance = 10 |
Maximum world distance to the target node before terminating the path. More... | |
Additional Inherited Members | |
![]() | |
PathEndingCondition () | |
![]() | |
ABPath | abPath |
Path which this ending condition is used on. More... | |
![]() | |
Path | path |
Path which this ending condition is used on. More... | |
EndingConditionProximity | ( | ABPath | p, |
float | maxDistance | ||
) |
|
virtual |
Has the ending condition been fulfilled.
node | The current node. This is per default the same as asking if node == p.endNode |
Reimplemented from ABPathEndingCondition.
float maxDistance = 10 |
Maximum world distance to the target node before terminating the path.