The proximity metadata module creates or adds a new metadata on the group agents based on the proximity to agents of other groups.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
radius | double | no | Proximity radius |
name | string | no | Metadata name |
type | int | no | Metadata type id |
sight | double | no | Sight factor. Values close to 0 make the sight wider, while the sight gets narrower for values close to 1. |
boolValue | bool | yes | Metadata boolean value |
intValue | int | yes | Metadata int value |
doubleValue | double | yes | Metadata double value |
vec3Value | vec | yes | Metadata vector 3 value |
quatValue | vec | yes | Metadata quaternion value - This value is exposed as a euler rotation then inside the moduel is converted to a quaternion |
matrixValue | matrix | yes | Metadata matrix value |
stringValue | string | yes | Metadata string value |
agentTypes | string array | no | Only if agent type specified will be used, if the list is empty then all agent types will be used. |
agentGroups | string array | no | The target agent groups to be used. If empty this module does nothing. |
debug | bool | no | Enables module debug drawing. |