Proximity metadata
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 |
---|---|---|---|
useInfluenceAgentGroupsOnly | bool | no | If on, only the agents specified within the agentGroups list are used. |
radius | double | no | Proximity radius |
name | string | no | Metadata name |
type | int | no | Metadata type id, use -1 to copy the metadata |
copyMetadata | string | no | The name of the metadata to be copied |
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 | vector3 | yes | Metadata vector 3 value |
quatValue | vector3 | yes | Metadata quaternion value -Â This value is exposed as a euler rotation then inside the module 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. |
blendIn | int | yes | Number of frames used to interpolate the metadata value when the agent enters the proximity of another agent |
blendOut | int | yes | Number of frames used to interpolate the metadata value when the agent exits the proximity of another agent |
randomInDelay | int | yes | Number of frames used as delay to change the metadata value when the agent enters the proximity of another agent |
randomOutDelay | int | yes | Number of frames used as delay to change the metadata value when the agent exits the proximity of another agent |
keepMeta | bool | yes | If on, the module will store the previous metadata value of the agent as soon as the metadata changes. So the agent metadata keeps the new value even when it exits the proximity of another agent |
avoidMutualEffect | bool | yes | If on, only one agent will affect another one. |
Copyright © 2017, Toolchefs LTD.