The Agent trigger module changes a given metadata of your agents as soon as they get into the trigger mesh area.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
mesh | mesh | no | The area mesh. |
meshTranslation | vec | no | Mesh translation |
meshRotation | vec | no | Mesh rotation |
meshScale | vec | no | Mesh scale |
meshParentMatrix | matrix | no | Mesh parent matrix |
metadata | string | no | Metadata name |
keepState | bool | yes | If set to true, the module will store the previous metadata value of the agent as soon as the state changes. So the agent metadata keeps the new value even when it exits from the mesh |
blendIn | int | yes | Number of frames used to interpolate the metadata value when the agent enters inside the area |
blendOut | int | yes | Number of frames used to interpolate the metadata value when the agent exits inside the area |
randomInDelay | int | yes | Number of frame used as delay to change the metadata value when the agent enters inside the area |
randomOutDelay | int | yes | Number of frame used as delay to change the metadata value when the agent exits inside the area |
seed | int | no | Random seed |
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 insid ethe moduel is converted to a quaternion |
matrixValue | matrix | yes | Metadata matrix value |