Sphere layout
The sphere layout module creates agents within a sphere.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
agentType | string | yes | The agent type name. |
centerOffset | vector3 | no | Position offset |
size | vector3 | no | Size of the sphere |
iterations | int | no | The number of iterations used for building the agents. |
radius | double | no | The minimum distance between each agent. |
maxRadius | double | no | The maximum distance between each agents |
randomSeed | int | no | Random seed |
randomizeRadius | bool | no | If true, the radius value is randomized per agent. |
seed | int | no | Random seed |
direction | vector3 | no | The direction of the agents |
randomDirection | vector3 | no | Random factors for each axis of the direction vector |
upVector | vector3 | no | Agent up vector |
randomUpVector | vector3 | no | Random factors for each axis of the up vector |
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) |
Copyright © 2017, Toolchefs LTD.