Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

keepState
AttributesTypeOverridableDescription
meshmeshnoThe area mesh.
meshTranslationvecnoMesh translation
meshRotationvecnoMesh rotation
meshScalevecnoMesh scale
meshParentMatrixmatrixnoMesh parent matrix

metadata
(metadataName in AtomsUnreal)

stringnoMetadata 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)
keepValueboolyesIf set to truefalse, the module will store restore 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
vec3Valuevecvector3yesMetadata vector 3 value
quatValuevecvector3yesMetadata quaternion value -  This value is exposed as a euler rotation then insid ethe moduel inside the module is converted to a quaternion
matrixValuematrixyesMetadata matrix value


...


Widget Connector
width900
urlhttps://www.youtube.com/watch?v=Pd7mP9IGjt0
height600