Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- radius = 5; //size of the node
- /*Don't modify*/
- gCost = 0; //distance from start node
- hCost = 0; //distance to end node
- fCost = 0; //gCost + hCost
- parent = undefined; //from which node we got to this node
- //all of the above are calculated from the script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement