Please help..
Please, the only thing I need is how to find a cost of getting from one node to another.
http://www.gamedev.net/community/forums/topic.asp?topic_id=98287
" Do we need us? "
" Do we need us? "Ionware Productions - Games and Game Tools Development
I''ve not implemented Dijkstra, but I''d guess it''s totally application specific.
Generally it would be the distance between the two nodes in your level, or if your terrain is sloped, the distance scaled by the "difficulty" of the slope.
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
Generally it would be the distance between the two nodes in your level, or if your terrain is sloped, the distance scaled by the "difficulty" of the slope.
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
quote: Original post by HellRiZZer
Please, the only thing I need is how to find a cost of getting from one node to another.
The path cost in a search tree (graph structure) is the cost to traverse the arc in that graph. Since the graph represents a domain then the arc cost must be associated with a resource cost in the domain. What domain are you implementing Dijkstra''s for?
Timkin
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement