The follow agent module makes your agent travel towards another agent location.
This module should be used in conjunction with the ProximityMetadata or similar modules.
This module will search for the "targetAgentId" metadata on each agent of this group, when this metadata is found the module will change this agent direction to point towards the target agent. The state of the agent is also changed as soon as target agent is found.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
weight | double | yes | The module weight |
maxTurnAngle | double | no | The max turn angle. |
followTargetDelay | int | no | The number of delay frames used when a target agent is found |
state | int | no | The agent state to use when the target agent is found |
debug | bool | no | Enables module debug drawing. |