Curve layout

The curve layout creates agents along a curve.



Attributes

AttributesTypeOverridableDescription
agentTypestringtrueThe agent type name.
directionvector3yesCustom direction
numAgentsint
noNumber of agents
depthintnoNumber of rows
depthSpacedoublenoSpace between each row
curvecurvenoThe reference curve
directionTypeintno
  • 0: tangent
  • 1: normal
  • 2: custom direction
invertDirectionboolnoInvert the agent direction
upVectorvector3yesAgent up vector
useCVsboolnoCreates the agents on the curve cvs instead of using the numAgents attribute
seedintnoRandom seed
randomSpacevector3noMax spacing variation from point on curve.
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.