Versions Compared

Key

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

...

Introductions

General 

We can use logic to control which action the agent will select to transit to next action in transition map along with exit trigger.

...


Instructions

In below figureimage, suppose we have several transition action from standA to walkA.


If current agent are in the is playing standA action, and its next action is walkA, it will transit from standA to walkA using 4 different transition actions.

...

At this time we can setup and affect interfere the action choose at this time.

There are 2 method.methods

  1. Action Exit Choice Main Features of Transition Map
  2. Actrion Trigger (we'll describe here)

Action Trigger

We can fill the different exit trigger in different action through action editor:

...

And in logic setup, we can use the simulation variable and the value of them to choose which transition action it should select Maya Attribute (Simulation) and the attribute name of it should be the same as transition action exit trigger.

For example, we use this logic:

set maya attribute:sw2 value 1

And your agent will choose the action standAtowalkA2action standAtowalkA2


And different agents can transit to next action by logic control