![]() |
PathBerserker2d
1.0
Platformer pathfinding solution
|
Represents an async path request. More...
Public Member Functions | |
PathRequest (NavAgent client) | |
Public Attributes | |
NavSegmentPositionPointer | start |
Start of the requested path More... | |
IList< NavSegmentPositionPointer > | goals |
Goals of the requested path. More... | |
NavAgent | client |
NavAgent the calculated path should be usable by. More... | |
Vector2 | closestReachablePosition |
If the request failed, this will contain the closest reachable position found to the goal. This does NOT work when multiple goals where specified. More... | |
Properties | |
RequestState | Status [get] |
Status of the processing of the request. More... | |
RequestFailReason | FailReason [get] |
If the request failed, it will set this field to the cause of failure. More... | |
Path | Path [get] |
If the request succeeded, this is found path. More... | |
Represents an async path request.
Vector2 PathBerserker2d.PathRequest.closestReachablePosition |
If the request failed, this will contain the closest reachable position found to the goal. This does NOT work when multiple goals where specified.
IList<NavSegmentPositionPointer> PathBerserker2d.PathRequest.goals |
Goals of the requested path.
NavSegmentPositionPointer PathBerserker2d.PathRequest.start |
Start of the requested path
|
get |
If the request failed, it will set this field to the cause of failure.
|
get |
If the request succeeded, this is found path.
|
get |
Status of the processing of the request.