The direction collector acts as a controller for all the directional modules placed in the module stack before the direction collector.
Say you have an agent group with the following modules in the given order:
- grid layout
- state machine
- follow curve
- mesh avoidance
- direction collector
The direction collector will blend the resulting directions of the follow curve and mesh avoidance modules. The weight of those modules will be used as a factor for evaluating the final direction (the evaluation is per agent and agent overrides are considered).
You can have multiple direction collectors applied to the same agent group, when this happens the first direction collector module will be considered by the following direction collector module as a standard direction module (using its weight and the direction result).
|maxTurnAngle||double||yes||The agent max turn angle.|
|editLocomotionAngularVelocity||double ||yes||If on, this module will edit the targetAngularVelocity metadata used by the locomotion system|