#N canvas 437 174 586 578 10; #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 269 14 test line; #X obj 35 450 tLine2D; #X floatatom 74 481 5 0 0 0 - - -; #X floatatom 54 505 5 0 0 0 - - -; #X floatatom 35 529 5 0 0 0 - - -; #X text 119 480 speed regarding the distance from the segment; #X text 96 504 distance from the segment; #X text 215 378 position of the mass (first outlet of the mass object) ; #X msg 92 379 position2D 0 0; #X text 79 528 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 44 97 message to change parameter / default value / creation arg number / description; #X text 195 145 1 : Name; #X text 195 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 193 279 5 : Y coordinate of the the 2nd point of the line; #X text 217 160 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 193 312 6 : Maximum depth; #X text 130 55 It receives mass position \, and outputs 0/1 according to the mass position (1 if the mass is on a side of the line).; #X connect 0 0 8 0; #X connect 1 0 8 0; #X connect 2 0 8 0; #X connect 3 0 8 0; #X connect 4 0 8 0; #X connect 8 0 11 0; #X connect 8 1 10 0; #X connect 8 2 9 0; #X connect 15 0 8 0;