Creating an Agent Group - Houdini


You can create an Agent Group by using the shelf button or via the Atoms Menu: Atoms > Create Agent Group.



Setting up the agent group

Go inside agentGroup1_geo node, select the agentGroup1 node and open the parameters editor. In the Modules tab select  the "gridLayout" item from the "Behaviour Modules" combo box and then press the "Add Behaviour Modules" button. Go inside the "Modules Attributes" tab and in the child "gridLayout" tab set:

  • the size parameter to (3,0,3)
  • the agent type parameter to the one you created in the previous section

Then do one of the followings:

  • Return to the "Modules" tab, select a "stateMachine" module from the list and press the "Add Behaviour Module" button.
  • Return to the "Modules" tab, select a "clipReader" module from the list and press the "Add Behaviour Module" button. Inside the "Modules Attributes" and "clipReader"  type the animation clip name you entered previously in the "clipName" field (i.e. newManWalk). Set the startFrame value to 0.

Click on the time slider rewind button and your 9 agents will appear in the viewport or press the updateSim button to update the simulation, forcing the recook of the AtomsSim_DOP node.


Hit the play button to run the simulation. 



Copyright © 2017, Toolchefs LTD.