比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

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


Direction modules

To drive your agents you can use different behaviour modules.

Follow curve behaviour module

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

Curve field behaviour module

The curve field generate a vector field using multiple effects so the agent are affeted by the direciton of multiple curves

  • Create a agent group
  •  Add a grid layout module, Set the size to (3,0,3)
  •  Add state machine module. Set the "state" attribute of the stateMachine module to 1
  • Create some curves in your scene
  • Add a curve field module
  • in the curves attribute of the curve field module, expand the panel and press the add button to add input curves and then drag and drop from the outliner the curves or enter the curves name inside each field
  • Set max distance attribute to 500
  • Rewind your scene and the press play. The agen will follow the curve you created