csharp
public interface IActionCostModelWhat an action costs to reach.
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)
float Cost(in AgentContext context, GoapAction action, Vector3 from, in GoapTarget target)What one action costs.
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