The curve pair layout creates agents between two curves.
...
| Attributes | Type | Overridable | Description |
|---|---|---|---|
| agentType | string | yes | The agent type name. |
| direction | vector3 | yes | Custom direction |
| numAgents1 | int | no | Number of agents for the first curve |
| numAgents2 | int | no | Number of agents for the second curve |
| curve1 | curve | no | The first reference curve |
| curve2 | curve | no | The second reference curve |
| directionType | int | no |
|
| invertDirection | bool | no | Invert the agent direction |
| upVector | vector3 | yes | Agent up vector |
| useCVs | bool | no | Creates the agents using the curve cvs instead of using the numAgent attributes |
| numRows | int | no | The number of rows to generate between the curves |
| seed | int | no | random seed |
| randomRange | vector2 | no | Range for randomizing the number of agents at each row. The second value must be greater than the first one |
| randomDistribution | bool | no | Enables the random distribution |
| randomDistributionRange | vector2 | no | Range to randomize the distribution of the agents at each row. Values should be between 0 and 1, the second value must be greater than the first one |
| 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 avarage average feet position and the pelvis position in bind pose |
...