Channel Operator

A Channel Operator Behavior (beChannelOperator) allows to process input values and output the results in some channel values through a graph of Channel Operators nodes (ChOps). Check out the Channel Operators documentation for more details about this graph.

A Channel Operator Behavior in the Behavior Editor

Creation

  • Behavior Editor / Behavior Library: 
  • Golaem Menu: Crowd Behaviors / Behaviors / CrowdBeChannelOperator Node
  • MEL command: glmCrowdBeChannelOperatorCmd;

Configuration

A Channel Operator Behavior defines the following specific attributes. For common attributes see Behavior Common Attributes.

Presets

Some presets are available with the Channel Operator Behavior. These presets will create the complete graph of channel operators to do specific operations. The built graph may then need to be configured properly.

 
Set PP Attribute Preset: will create a graph of channel operators that mimics the Set PP Attribute Behavior
Set Bone Preset: will create a graph of channel operators that mimics the Set Bone Behavior

Channel Operators

 
Output Channel

List of output channels that are used by the behavior.

Click on the combo box to select another existing output channel, on the right arrow to select the output channel node.
Use the "Add New Output Channel" button and the trash icon to add or remove expressions.
Use the  button to open the Channel Operator graph for this Output Channel in the Channel Operator Editor.

Visual Feedback

The Channel Operator Behavior Visual Feedback shows the value of each Channel Operator that contribute to the output value.


Attribute Visual Feedback of the Channel Operator Behavior

The Channel Operator values are displayed in the order of evaluation.

The ChOpSensorInput have a specific display that shows the actual vision of the selected entity: the base caneva is the same than in the attribute editor, and the grey area is the part is is actuallt occupied by perceived obstacles. When the sensor is in clearance mode, it also display the angle at which the max (or min) clearance value is detected.