Torus layout
The torus layout module creates agents within a torus.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
agentType | string | yes | The agent type name. |
centerOffset | vector3 | no | Position offset |
torusRadius | double | no | The torus radius |
torusSectionRadius | double | no | The torus section radius |
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) |
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 |
Copyright © 2017, Toolchefs LTD.