A connection where one access strikes another.
(make-connection 'strike access_reference1 init-pos1 access_reference2 init-pos2 weight)
or
(make-connection 'strike access_reference1 init-pos1 weight)
The 'strike connection takes five arguments (or just three to create a unilateral connection):
The two positions must be numerical values, not controllers. The weight controller is optional. If not provided, it defaults to 1.
To create a unilateral strike connection, the second access and its position are not provided.
As with the pluck connection, strike accesses must be given an initial location and then moved in order to produce an interaction. (To move the accesses, it is necessary to use another controller: either 'position, 'force, or 'speed.) Note that the strike connection is identical to the pluck connection, except that there is no “release” when the “plectrum” (“hammer”) pushes too far.
You can optionally provide only one access, in order to create a unilateral contact. In this case, contact will be made with an infinitely rigid “ground surface” situated at zero. See the Tampura example for an application.
In older versions of Modalys, the arguments were provided in a slightly different order:
(make-connection 'strike access_reference1 access_reference2 init-pos1 init-pos2)
You may need to update this connection to the new syntax if you come across any very old Modalys files.
(make-connection 'spring ...)
Modalys Tutorial Example [examples coming soon!]