Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

The Agent trigger module changes a given metadata of your agents as soon as they get into the trigger mesh area.

The Area trigger module can also change module attributes. The target attribute must belong to a module following the area trigger instance in the module stack. 



Attributes

AttributesTypeOverridableDescription
meshmeshnoThe area mesh.
meshTranslationvecnoMesh translation
meshRotationvecnoMesh rotation
meshScalevecnoMesh scale
meshParentMatrixmatrixnoMesh parent matrix
metadatastringnoMetadata name. For agent metadatas use a simple string (i.e. variation), while for module attributes you use the following format: "moduleName@attributeName" (i.e. followCurve@curveWeight)
keepStateboolyesIf 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
blendInintyesNumber of frames used to interpolate the metadata value when the agent enters inside the area
blendOutintyesNumber of frames used to interpolate the metadata value when the agent exits inside the area
randomInDelayintyesNumber of frame used as delay to change the metadata value when the agent enters inside the area
randomOutDelayintyesNumber of frame used as delay to change the metadata value when the agent exits inside the area
seedintnoRandom seed
boolValueboolyesMetadata boolean value
intValueintyesMetadata int value
doubleValuedoubleyesMetadata double value
vec3ValuevecyesMetadata vector 3 value
quatValuevecyesMetadata quaternion value -  This value is exposed as a euler rotation then insid ethe moduel is converted to a quaternion
matrixValuematrixyesMetadata matrix value
  • No labels