A* Pathfinding Project
3.6
The A* Pathfinding Project for Unity 3D
|
Smoothing by dividing path into turns and straight segments. More...
Smoothing by dividing path into turns and straight segments.
Classes | |
class | ConstantTurn |
Constant turning speed. More... | |
class | MaxTurn |
Type of turn. More... | |
struct | Turn |
Represents a turn in a path. More... | |
class | TurnConstructor |
Abstract turn constructor. More... | |
Public Member Functions | |
override void | Apply (Path p, ModifierData source) |
Main Post-Processing function. | |
Public Member Functions inherited from MonoModifier | |
virtual Vector3[] | Apply (GraphNode[] path, Vector3 start, Vector3 end, int startIndex, int endIndex, NavGraph graph) |
virtual Vector3[] | Apply (Vector3[] path, Vector3 start, Vector3 end) |
virtual void | ApplyOriginal (Path p) |
void | Awake () |
Alerts the Seeker that this modifier exists. | |
void | OnDestroy () |
void | OnDisable () |
void | OnEnable () |
virtual void | PreProcess (Path p) |
Public Member Functions inherited from IPathModifier | |
void | Apply (Path p, ModifierData source) |
void | ApplyOriginal (Path p) |
void | PreProcess (Path p) |
Public Attributes | |
MaxTurn | turnConstruct1 = new MaxTurn () |
ConstantTurn | turnConstruct2 = new ConstantTurn () |
float | turningRadius = 1.0F |
Public Attributes inherited from MonoModifier | |
int | priority = 0 |
Higher priority modifiers are executed first. | |
Seeker | seeker |
Properties | |
override ModifierData | input [get] |
override ModifierData | output [get] |
Properties inherited from MonoModifier | |
abstract ModifierData | input [get] |
abstract ModifierData | output [get] |
int | Priority [get, set] |
Properties inherited from IPathModifier | |
ModifierData | input [get] |
ModifierData | output [get] |
int | Priority [get, set] |
Private Member Functions | |
void | EvaluatePaths (List< Turn > turnList, List< Vector3 > output) |
|
virtual |
Main Post-Processing function.
Implements MonoModifier.
|
private |
ConstantTurn turnConstruct2 = new ConstantTurn () |
float turningRadius = 1.0F |
|
get |
|
get |