Versions Compared

Key

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

In this section we add some behaviours adding behaviours module to some agents group.


Direction modules

To drive your agents you can use different behaviour modules. Let's start with the follow curve module.

  • Create a agent group
  •  Add a grid layout module
  •  Add state machine module. Set the "state" attribute of the stateMachine module to 1
  • Create a curve in your scene
  • Add a follow curve module
  • in the curve attribute of the follow curve module drag and drop form the outliner the curve or enter the curve name inside the attribute field
  • Rewind your scene and the press play. The agen will follow the curve you created

Image Added