#N canvas 500 185 579 593 10; #X text 270 16 test segment; #X msg 104 233 setY1 0; #X msg 105 279 setY2 0; #X msg 103 208 setX1 -1; #X msg 104 256 setX2 1; #X msg 105 312 setPmax 1; #X text 219 296 X and Y position of the 2 points defining the line. ; #X text 217 327 maximum depth of the interaction line.; #X text 193 312 6 : maximum depth; #X floatatom 68 481 5 0 0 0 - - -; #X floatatom 68 481 5 0 0 0 - - -; #X floatatom 51 505 5 0 0 0 - - -; #X floatatom 35 529 5 0 0 0 - - -; #X text 111 479 speed regarding the distance from the segment; #X text 93 505 distance from the segment; #X text 207 378 position of the mass (first outlet of the mass object) ; #X msg 92 379 position2D 0 0; #X obj 35 450 tSeg2D; #X text 80 532 0/1 according to the position of the mass; #X text 129 40 This object should be used for testing a mass position. ; #X text 43 109 message to change parameter / default value / creation arg number / description; #X text 194 146 1 : Name; #X text 216 162 this is the name of the mass interacting with this object. you can also connect the output of this object to a mass to allow an interaction with this mass.; #X text 194 209 2 : X coordinate of the the 1st point of the line; #X text 194 232 3 : Y coordinate of the the 1st point of the line; #X text 194 255 4 : X coordinate of the the 2nd point of the line; #X text 194 279 5 : Y coordinate of the the 2nd point of the line; #X text 130 56 It receives a mass position \, and outputs 0/1 according to the mass position (1 if the mass is on either side of the line). ; #X connect 1 0 17 0; #X connect 2 0 17 0; #X connect 3 0 17 0; #X connect 4 0 17 0; #X connect 5 0 17 0; #X connect 16 0 17 0; #X connect 17 0 12 0; #X connect 17 1 11 0; #X connect 17 2 10 0;