mirror of
https://github.com/DerTyp7/fps-citybuild-unity.git
synced 2025-10-31 21:27:06 +01:00
NPC Pathfinding COMPLETE
Completed Pathfinding system from Vector3 Position to Vector3 Position
This commit is contained in:
@@ -23,6 +23,8 @@ public class PathNode
|
||||
{
|
||||
neigbors = new List<PathNode>();
|
||||
position = Vector3.zero;
|
||||
index = new Vector2Int(0,0);
|
||||
parentIndex = new Vector2Int(0,0);
|
||||
scoreG = Mathf.Infinity;
|
||||
scoreF = Mathf.Infinity;
|
||||
scoreH = Mathf.Infinity;
|
||||
|
||||
Reference in New Issue
Block a user