Proximity

Proximity

Executes the child node if another agent is within the given radius and a sight cone.

Success: When the child returns Success

Failure: When child node fails or when there is no agent falling in the proximity criterias

Running: When the child is Running


Attributes

Attributes

Type

Description

Attributes

Type

Description

lockAgent

bool

If on, ensures no data on the agent is written simultaneously by nodes that have this option active.

position

vector3

Position

direction

vector3

Sight cone direction

sightAngle

double

Sight cone angle

radius

double

Radius/Distance used to search neighbor agents

useGlobalIds

bool

If on, stores the agent global id instead of the agent group id

blackboardKey

string

Blackboard key where the id of the closest agent will be stored

Copyright © 2017, Toolchefs LTD.