Versions Compared

Key

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

081 Master Channels (Go to Video Tutorials)

 

Introduction

We can establish master and slave relationship between different agents and make them interactive each other.

For example, we can make a group of A agents be the Masters of other group of B Agents, and then, each B agent can feel the master of it and interactive of its master separately.

 

Example 1

Like the following picture shown, the A agents are masters of B agents, and the B agents are Slave.

...

Master - Slave relationship

 

Example 2:

like the following picture shown, master-slave relationship can be linked freely, and a group of agents be are master/slave each other.

...

Multiple Master - Slave relationship

 

Setup Workflow

For establishing this kind of relationship, we need to use script (Python or MEL) and connect the "masterOf" attribute of agents.

...

T3_S07_02_MasterChannel_Multi_v2.ma (use script "establishMasterSlave3()" from McdPipelineCommands.py

 

 

Sentence Usage

If there is relationship established successfully. we can use some sentences to make them interactive.

With master sentences, each slave agent can feel master and do something we want them to do.

 

Master Sentences

Master:

  • my master is on LEFT/RIGHT
  • my master is UP/DOWN
  • my master to me distance

...