Property | Type | Description | |
---|---|---|---|
forwardPlanning | float |
Property | Type | Description | |
---|---|---|---|
controller | CharacterController | ||
prevNode | GraphNode | ||
prevPos | Vector3 |
Method | Description | |
---|---|---|
ClampAlongNavmesh ( Vector3 startPos, GraphNode _startNode, Vector3 endPos, Vector3 &clampedPos ) : GraphNode | ||
ClampMove ( Vector3 currentPosition, Vector3 direction ) : Vector3 | ||
ClampToNavmesh ( Vector3 target ) : Vector3 | ||
SimpleMove ( Vector3 currentPosition, Vector3 direction ) : Vector3 | ||
Start ( ) : void | ||
Teleport ( ) : void |
Method | Description | |
---|---|---|
OnAstarAwake ( ) : void | ||
OnDisable ( ) : void | ||
OnRescan ( AstarPath, active ) : void |
public ClampAlongNavmesh ( Vector3 startPos, GraphNode _startNode, Vector3 endPos, Vector3 &clampedPos ) : GraphNode | ||
startPos | Vector3 | |
_startNode | GraphNode | |
endPos | Vector3 | |
clampedPos | Vector3 | |
return | GraphNode |
public ClampMove ( Vector3 currentPosition, Vector3 direction ) : Vector3 | ||
currentPosition | Vector3 | |
direction | Vector3 | |
return | Vector3 |
public ClampToNavmesh ( Vector3 target ) : Vector3 | ||
target | Vector3 | |
return | Vector3 |
public SimpleMove ( Vector3 currentPosition, Vector3 direction ) : Vector3 | ||
currentPosition | Vector3 | |
direction | Vector3 | |
return | Vector3 |
protected CharacterController controller | ||
return | CharacterController |