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
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
positionvector3Position
directionvector3Sight cone direction
sightAngledoubleSight cone angle
radiusdoubleRadius/Distance used to search neighbor agents
useGlobalIdsboolIf on, stores the agent global id instead of the agent group id
blackboardKeystringBlackboard key where the id of the closest agent will be stored

Copyright © 2017, Toolchefs LTD.