Grid layout

The grid layout creates a grid of agents.



Attributes

AttributesTypeOverridableDescription
agentTypestringyesThe agent type name.
directionvector3yesThe direction of the agents.
randomDirectionvector3noRandom factors for each axis of the direction vector.
spacevector3noSpacing of the grid.
randomSpacevector3noMax spacing variation from point on grid.
seedintnoSeed random value.
sizevector3noSize of the grid.
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.