public Vector3 position; //Position of the node #endregion /// <summary> //Default Constructor /// </summary> public Node() { this.estimatedCost = 0.0f; this.nodeTotalCost = 1.0f; this.bObstacle = false; this.parent = null; }
/// <summary> //Constructor with adding position to the node creation /// </summary> public Node(Vector3 pos) { this.estimatedCost = 0.0f; this.nodeTotalCost = 1.0f; this.bObstacle = false; this.parent = null; this.position = pos; }