Versions Compared

Key

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

Now let's have a look at how you can duplicate an agent group.



Create an agent group. Add a gridLayout module. From the grid layout modules parameters tab, type the agent type name you entered previously in the "agentType" field (i.e. testRobot). and set the "size" field to (3,1,3). Then add a stateMachine module. From the "Draw attribute" tab change the draw mode from skeleton to skin.

Click on the time slider rewind button or on the updateSim shelf button and your 9 agents will appear in the viewport.

Select the agentGroup1_geo1 node under the obj contextthe agent group.

Now click on the duplicate button in the Atoms shelf. 


Rewind, select the new agent group node and move it to another position.