Procedural Hexagon Grid Framework
|
Example Unit class using A* pathfinding, moves to closest possible node of selected CellObject. More...
Public Member Functions | |
bool | CanUnitMoveToNode (SearchNode toSearchNode) |
Check if this unit can move to search node (Pathfinding-algotirhm uses this) | |
Public Attributes | |
Node | position |
float | moveSpeed = 1 |
float | turnSpeed = 10 |
bool | canMoveOnLand = true |
bool | canMoveOnWater = false |
bool | canMoveOnOccupiedNodes = false |
Example Unit class using A* pathfinding, moves to closest possible node of selected CellObject.