Area trigger

Area trigger

 

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

Attributes

Type

Overridable

Description

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
(metadataName in AtomsUnreal)

string

no

Metadata 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)

keepValue

bool

yes

If set to false, the module will restore the previous metadata value as soon as the agent 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

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


 

Copyright © 2017, Toolchefs LTD.