/
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 |
---|---|---|
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 |
, multiple selections available,
Related content
Proximity metadata
Proximity metadata
More like this
Is In Range
Is In Range
More like this
Is Inside Area
Is Inside Area
More like this
Get Closest Agent
Get Closest Agent
More like this
Switch
More like this
Conditional
Conditional
More like this
Copyright © 2017, Toolchefs LTD.