Grid layout
The grid layout creates a grid of agents.
Attributes
| Attributes | Type | Overridable | Description |
|---|---|---|---|
| agentType | string | yes | The agent type name. |
| direction | vector3 | yes | The direction of the agents. |
| randomDirection | vector3 | no | Random factors for each axis of the direction vector. |
| space | vector3 | no | Spacing of the grid. |
| randomSpace | vector3 | no | Max spacing variation from point on grid. |
| seed | int | no | Seed random value. |
| size | vector3 | no | Size of the grid. |
| groupIdOffset | int | no | Applies the offset to the agent ids if there are multiple layout modules |
| isDynamic | bool | no | If true, generate agents dynamically |
| dynamicMethod | int | no | The method to be used for dynamic agent generation: Timer (0), Generator Trigger(1) |
| timer | vector2 | no | Range to pick a random value of frames to trigger a new generation of agents (if the module is dynamic and dynamic method is by timer) |
| generatorTrigger | bool | no | Flag to trigger a new generation of agents (if the module is dynamic and dynamic method is by Generator Trigger) |
| resetSeed | bool | no | If true, reset the seed at each generation (only used if the module is dynamic) |
| generateOnInitSimulation | bool | no | If true, generate agents at first frame (only used if the module is dynamic) |
| randomizeAgentTypes | bool | no | If true, pick random agent type on dynamic generations (only if the module is dynamic) |
| randomAgentTypes | stringArray | no | The list of agent types to be used on dynamic generations (only if the module is dynamic) |
| applyPelvisHeightOffset | bool | no | If true, offsets the agent height according to the distance between the average feet position and the pelvis position in bind pose |
, multiple selections available,
Copyright © 2017, Toolchefs LTD.