Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The design and/or logic of how an in-game entity makes decisions about its behavior.
5
votes
Accepted
Discovering path through unknown territory
The fog cost can be adjusted to whatever level you desire... very high costs will have the AI take long backtracks to follow explored paths to the exit, while lower costs encourage the AI to attempt to …
7
votes
How can I tweak this A* search pathfinding algorithm to handle different terrain movement va...
You need to pay attention to a very specific line in the algorithm:
// g score is the shortest distance from start to current node, we need to check if
// the path we have arrived at this neighbor …