Direction Collector
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).
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
maxTurnAngle | double | yes | The agent max turn angle. |
weight | double | yes | Weight. |
editLocomotionAngularVelocity | double | yes | If on, this module will edit the targetAngularVelocity metadata used by the locomotion system |
Copyright © 2017, Toolchefs LTD.