Vixen
caa30e12
csharp
public interface IActionCostModel

What an action costs to reach.

Read the guide page for this →

Remarks

doc 37 § Part 4's seam. ⚠ The distance cost is a straight line by default, not a path length. A path query per candidate action per resolve is a nav search per edge of the search graph, which is the cost of the whole system in one line — so the shipped model is arithmetic, and the one that asks the navmesh lives in Vixen.Ai.Nodes where the navmesh does, with the guide saying plainly what it costs.

Methods (1)

Used by (10)

  • ActionCostModelsVixen.Ai
  • AiSystemVixen.Ai
  • FlatCostModelVixen.Ai
  • GoapCostTestsVixen.Ai.Tests
  • GoapPlanQueueVixen.Ai
  • GoapPlannerVixen.Ai
  • GoapSnapshotVixen.Ai
  • NavigationCostModelVixen.Ai.Nodes
  • SeamTestsVixen.Ai.Nodes.Tests
  • StraightLineCostModelVixen.Ai