Skip to content

What do "extra_cost" and "LHS" do? #131

Answered by MattFiler
ghramsey asked this question in Q&A
Discussion options

You must be logged in to vote

LHS is usually paired with RHS, which will evaluate to the left and right hand side of a numerical calculation. For example, FloatGreaterThan will evaluate if the value on the left is greater than the one on the right or vice versa.

The cost value in regards to pathfinding will be to do with how the AI picks its pathing through an area. The wait node I assume is adding extra value to that section of the navmesh, which would weight it lower in the AI's choice of where to route.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghramsey
Comment options

Answer selected by ghramsey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants