Versions Compared

Key

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

To build an state machine event, open the Atoms UI and make sure to have selected the "StateMachines" tab.

If you are not familiar with state machines 



Building your state machine

Click on "Add", then double-click on the state machine you just created. Rename it to "robotStateMachine".

Right click on the state machine viewport and select "Add Animation State" or press on "Add State" button.
Select the new state and change its name to "walk" .

Leave the "Id" to 0 and click on "Add Clip". From the clip list, select the clip you exported in the previous section

Click on the "Register" button or press CTRL+S.

Your state machine is ready to be used.

Assign a state machine to an Agent type

After you created a state machine you must assign to a compatible agent type. Go to the agent type tab, select your agent type ("testRobot"), and in the state machine field set the one you just created. In this way the stateMahcine behaviour module will use the correct state machine for each agent type.

Image RemovedImage Added