Torus layout

The torus layout module creates agents within a torus.



Attributes

AttributesTypeOverridableDescription
agentTypestringyesThe agent type name.
centerOffsetvector3noPosition offset
torusRadiusdoublenoThe torus radius
torusSectionRadiusdoublenoThe torus section radius
iterationsint
no

The number of iterations used for building the agents.
This is not the actual number of agents. At each iteration a random point of the mesh is picked and Atoms will make sure there is no agent closer than "radius". If this condition fails, no agent will be placed at this iteration.

radiusdoublenoThe minimum distance between each agent.
maxRadiusdouble no The maximum distance between each agents 
randomSeedintnoRandom seed
randomizeRadiusboolnoIf true, the radius value is randomized per agent.
seed intnoRandom seed
directionvector3noThe direction of the agents
randomDirectionvector3noRandom factors for each axis of the direction vector
upVectorvector3noAgent up vector
randomUpVectorvector3noRandom factors for each axis of the up vector
groupIdOffsetintnoApplies the offset to the agent ids if there are multiple layout modules
isDynamicboolnoIf true, generate agents dynamically
dynamicMethodintnoThe method to be used for dynamic agent generation: Timer (0), Generator Trigger(1)
timervector2noRange 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)
generatorTriggerboolnoFlag to trigger a new generation of agents (if the module is dynamic and dynamic method is by Generator Trigger)
resetSeedboolnoIf true, reset the seed at each generation (only used if the module is dynamic)
generateOnInitSimulationboolnoIf true, generate agents at first frame (only used if the module is dynamic)
randomizeAgentTypesboolnoIf true, pick random agent type on dynamic generations (only if the module is dynamic)
randomAgentTypesstringArraynoThe list of agent types to be used on dynamic generations (only if the module is dynamic)
applyPelvisHeightOffsetboolnoIf 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.