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 |
---|---|---|
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.