The Agent trigger module changes the state of your agent 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 |