A connection where one access strikes another.
The 'strike connection can be created using the following Lisp syntax:
(make-connection 'strike acc_ref1 init_pos1 acc_ref2 init_pos2 weight)
or ('unilateral' strike connection):
(make-connection 'strike acc_ref1 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.
In the case of 'unilateral' contact, you provide only one access. In that situtation, 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 acc_ref1 acc_ref2 init_pos1 init_pos2)
You may need to update this connection to the new syntax if you come across any very old Modalys files.