A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
NodeLink Class Reference
+ Inheritance diagram for NodeLink:
+ Collaboration diagram for NodeLink:

Public Member Functions

virtual void Apply ()
 
void OnDrawGizmos ()
 

Public Attributes

float costFactor = 1.0f
 The connection will be this times harder/slower to traverse.
 
bool deleteConnection = false
 Delete existing connection instead of adding one.
 
Transform end
 End position of the link.
 
bool oneWay = false
 Make a one-way connection.
 

Properties

Transform End [get]
 
Transform Start [get]
 

Private Member Functions

void DrawGizmoBezier (Vector3 p1, Vector3 p2)
 

Member Data Documentation

float costFactor = 1.0f

The connection will be this times harder/slower to traverse.

Note that values lower than one will not always make the pathfinder choose this path instead of another path even though this one should lead to a lower total cost unless you also adjust the Heuristic Scale in A* Inspector -> Settings -> Pathfinding or disable the heuristic altogether.


The documentation for this class was generated from the following file: