Versions Compared

Key

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

Now let's have a look at how you can extract agents from 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. testRobottestMan). 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.




Image RemovedImage Added

Now scroll down in the property panel and click on the agent selection tool button.

Select some agents in the viewport and then select the agentGroup1_geo1 node under the obj context.

Now click on the separate button in the Atoms shelf.  


Image RemovedImage Added

Select the new agent group node and move it to another position.

Image RemovedImage Added