Mesh Avoidance

Mesh Avoidance

The mesh avoidance module makes sure your agents do not collide with a given mesh.

 


Attributes

Attributes

Type

Overridable

Description

Attributes

Type

Overridable

Description

behave3d

bool

no

Enables up and down intersections, instead of left and right only. 

distance

float

yes

The threshold distance. All agents within this distance range from the mesh will be evaluated.

maxTurnAngle

double

no

The max turn angle.

mesh

mesh

no

The mesh to avoid.

meshParentMatrix

matrix

no

The mesh parent matrix.

meshTranslation

vector3

no

The mesh translation.

meshScale

vector3

no

The mesh scale.

meshRotation

vector3

no

The mesh rotation.

weight

double

yes

Weight.

boundingBoxMultiplier

double

no

Bounding box multiplier for intersection evaluation.

debug

bool

no

enables module debug drawing.

ignoreNextDirectionalModules

bool

yes

If enabled, all next directional modules in the stack will be ignored.

editLocomotionAngularVelocity

bool

yes

If on, this module will edit the targetAngularVelocity metadata used by the locomotion system.


 

Copyright © 2017, Toolchefs LTD.