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.

Multiple agent groups can be created simultaneously via the Atoms menu:  Atoms > Create Agent Groups.



Setting up the agent group

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. testRobottestMan). 
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. robotWalknewManWalk). 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. 





Widget Connector
width960
urlhttps://www.youtube.com/watch?v=qhQe1JcoWHQ&list=PLfQax8mAKx4A35ML0qHDE0knL2XgYAyyi&index=92&t=14s
height540