Creating an Expressions constraint
 
 
 

The Expressions pane lets you use a more mathematical, and less graphic, method of constraining objects.

To create an Expressions constraint:

  1. Drag the Expression constraint asset into the Viewer window from the Asset browser.

    The Navigator window displays the Expressions pane, and the constraint is added to the Scene browser.

    A new folder named “Constraints” appears in the Scene browser, with the new folder named Expressions added, and the Navigator window displays the Expressions pane.

  2. Alt-drag assets and devices from the Viewer window and Scene browser into the Expressions pane.
  3. A dialog box appears asking you if you want to create the expression as a Sender or a Receiver.

    Sender/Receiver dialog box

    • Select Sender to create the Expression as a Sender that transmits data
    • select Receiver to create the expression as a Receiver that is influenced by the data transmitted from the Sender.

    Each of the object’s properties are split into separate cells.

    Dragging the mouse device into the Expressions pane splits its properties into separate cells.

  4. Double-click a cell and type a value to set a value in a cell.
  5. Right-click in the cell and select a new data type from the Data editor to change the cell to a vector or another numerical type.

    Edit a cell’s value by dragging left or right to increase or decrease the value.

For more information, see Setting basic constraint commands in the Root folder and Expressions reference.