Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »


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

Please make sure the attribute editor is visible and select the agent group node.

Click on the "Add" button and add a gridLayout module. Type the agent type name you entered previously in the "agentType" field (i.e. testRobot). 
Set the "size" field to (3,0,3).

Then do one of the followings:

  • Click again on the "Add" button and add a stateMachine module. 
  • Click again on the "Add" button and add a clipReader module. Type the animation clip name you entered previously in the "clipName" field (i.e. robotWalk). Set the startFrame value to 0.

Click on Maya time slider rewind button and your 9 agents will appear in the viewport.
Hit the play button to run the simulation. 


Houdini

Go inside agentGroup1_geo node and select the grid1 object. Set the row and columns to 4 and 4. Then select the pointsLayout_direction and set the value to (1,0,1). Atoms creates an agent on every point of the mesh. You can edit the direction and agent type of each agents with the atoms_pointsLayout_directions and atoms_pointsLayout_agentTypes nodes.

Then do one of the followings:

  • Click again on the "Add" button and add a stateMachine module. 
  • Click again on the "Add" button and add a clipReader module. Type the animation clip name you entered previously in the "clipName" field (i.e. robotWalk). Set the startFrame value to 0.

Click on time slider rewind button.
Hit the play button to run the simulation.

  • No labels