Vixen
c7401864
csharp
public sealed class IsAtLocationDecorator

A key's position is within an acceptance radius of another, in 2D or in 3D.

Read the guide page for this →

Fields and properties (2)

  • public override ObserverAborts Aborts

    What this may interrupt when the keys it reads change.

  • public override ReadOnlySpan<BlackboardKey> ObservedKeys

    The blackboard keys it reads.

Methods (2)

  • public IsAtLocationDecorator(BlackboardKey here, BlackboardKey there, float acceptanceRadius, bool ignoreHeight = true, ObserverAborts aborts = None)

    Compares two position keys.

  • public override bool Evaluate(in BehaviorContext context, ReadOnlySpan<byte> state)

    Whether the node may be entered, or may keep running.

Used by (2)

  • BehaviorTreeDecoratorTestsVixen.Ai.Tests
  • BuildStateVixen.Ai