Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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

Maya

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

  • the size parameter to (3,0,3)
and change

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. robotWalk). 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.