About getting the cost of path travelled/found! #484
Unanswered
johnwon2007
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey, why do you need the internally computed cost... would it be sufficient to just sum the edge-lengths? Technically speaking, You could fork the repo recastnavigation with a method exposing this information for the final node, and then fork recast-navigation-js to expose the method. It's a bit involved, but I've been doing it for better control of offMeshConnections. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, so i know how to set areas and its cost so that we can find the best lowest costing path. but I was wondering if it would be possible to get the actual cost of found path. I have no clue since the cost is not being returned by NavMeshQuery.findpath().
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions