Vixen
c7401864
csharp
public sealed class GoapTargetSensors

Where each of a domain's actions happens, and where the agent asking is.

Read the guide page for this →

Remarks

doc 37 § D12: an action declares a target key and a sensor resolves it — "the nearest pear", not "pear number four". That is what keeps the graph a function of the action set rather than of the world's contents.

⚠ Where the agent is comes through a delegate, and that is the layering. A position lives in Vixen.Engine, which this assembly may not reference — doc 37's whole argument for putting the planners in Core/. A game or Vixen.Ai.Nodes hands one over; a game with no transforms at all hands over nothing, every distance reads as zero, and the search plans by action cost alone, which is a perfectly good way to plan.

Fields and properties (2)

Methods (5)

Used by (5)

  • AiSystemVixen.Ai
  • GoapPlanQueueVixen.Ai
  • GoapPlannerVixen.Ai
  • GoapSnapshotVixen.Ai
  • GoapWiringVixen.Ai.Nodes