Curve layout
The curve layout creates agents along a curve.
Attributes
| Attributes | Type | Overridable | Description |
|---|---|---|---|
| agentType | string | true | The agent type name. |
| direction | vector3 | yes | Custom direction |
| numAgents | int | no | Number of agents |
| depth | int | no | Number of rows |
| depthSpace | double | no | Space between each row |
| curve | curve | no | The reference curve |
| directionType | int | no |
|
| invertDirection | bool | no | Invert the agent direction |
| upVector | vector3 | yes | Agent up vector |
| useCVs | bool | no | Creates the agents on the curve cvs instead of using the numAgents attribute |
| seed | int | no | Random seed |
| randomSpace | vector3 | no | Max spacing variation from point on curve. |
| 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.