Curve pair layout

The curve pair layout creates agents between two curves.



Attributes

AttributesTypeOverridableDescription
agentTypestringyesThe agent type name.
directionvector3yesCustom direction
numAgents1int
noNumber of agents for the first curve
numAgents2intnoNumber of agents for the second curve
curve1curvenoThe first reference curve
curve2curvenoThe second reference curve
directionTypeintno
  • 0: tangent
  • 1: normal
  • 2: custom direction
invertDirectionboolnoInvert the agent direction
upVectorvector3yesAgent up vector
useCVsboolnoCreates the agents using the curve cvs instead of using the numAgent attributes
numRowsintnoThe number of rows to generate between the curves
seedintnorandom seed
randomRangevector2noRange for randomizing the number of agents at each row. The second value must be greater than the first one
randomDistributionboolnoEnables the random distribution
randomDistributionRangevector2noRange to randomize the distribution of the agents at each row. Values should be between 0 and 1, the second value must be greater than the first one
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.