...
This is a custom module where you can use C++ to implement the module events.
On each event, you have two variable as input that you can use to access various data:
agent: is an AgentWrapper object. You can use it to access agent metadata, or pose transforms.
agentGroup: is an AgentGroupWrapper object. You can use it to access other agents or do space queries.
Attributes | Type | Overridable | Description |
---|
...
agentsCreated | string | no | Event called when an agent is created. |
agentsKilled | string | no | Event called when an agent is destroyed. |
initFrame | string | no | Event called for each agent at the beginning of the frame. |
endFrame | string | no | Event called for each agent at the end of the frame. |
/
Examples
Add a random vector3 metadata
Modify agent direction
Print agent info