Skip to content

Adhere Connection

Description

Adheres two accesses together, so they have the same speed.

(make-connection 'adhere ... )

Lisp Syntax and Default Values

The 'adhere connection can be created using the following Lisp syntax:

(make-connection 'adhere acc_ref1 acc_ref2 weight)
or ('unilateral' adhere connection):

(make-connection 'adhere acc_ref weight)

Parameters

The 'adhere connection takes 2 or 3 arguments:

  • acc_ref1: any access.
  • acc_ref2: any access.
  • weight: (optional) controller weighing the interaction.

The weight controller is optional. If not provided, it defaults to 1.

Discussion

The function (make-connection 'adhere ...) causes two access to have the same speed. The accesses need not have the same position; i.e., if two accesses whose positions differ by five meters are adhered, and one of the accesses is moved, the other will follow by the same amount. Nor do the accesses need to have the same direction. If, for example, a 'trans0 access on a string is adhered to a 'long access on an air column, a change in speed in the string will result in a change in the pressure of the air column by the same amount (in the respective units of each).

Use this connection whenever you want to “glue” two things together; like a string to a violin bridge, a bridge to a violin body, etc...

Options

Unilateral Adhere Connection

In the case of 'unilateral' contact, you provide only one access. In that situtation, contact will be made with an infinitely rigid object. It is equivalent to a Speed connection with speed set to 0.


★     ★