blob: ba3aef0a1f4c95a9042a9d45634fcf2b571e5347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#N canvas 582 174 585 661 10;
#X text 254 13 Circlular test;
#X text 97 490 this object is like tPlane3D \, but it's action is limited
in space (circular).;
#X msg 50 325 setRmin 0;
#X msg 51 349 setRmax 1;
#X text 167 289 center of the circle defining the interactor;
#X text 164 364 minimal and maximal radius of the circle. If the mass
is outside or inside this circles \, it will not interact with this
link.;
#X floatatom 12 619 5 0 0 0 - - -;
#X floatatom 37 596 5 0 0 0 - - -;
#X floatatom 63 575 5 0 0 0 - - -;
#X text 157 451 position of the tested mass;
#X text 83 596 distance of the mass from the center of the circle;
#X text 106 574 speed of the mass regarding the center of the circle
;
#X obj 12 541 tCircle3D;
#X msg 50 149 setVX 0;
#X msg 50 174 setVY 0;
#X msg 50 199 setVZ 0;
#X msg 51 228 setX 0;
#X msg 51 252 setY 0;
#X msg 51 277 setZ 0;
#X msg 48 415 setPmax 10000;
#X text 138 326 7 : Minimum Radius;
#X text 139 349 8 : Maximum Radius;
#X msg 48 454 position3D 0 0 0;
#X text 63 618 0/1 according to the position of the mass;
#X text 140 46 This object should be used for testing a mass position.
;
#X text 45 97 message to change parameter / default value / creation
arg number / description;
#X text 143 147 1 : X coordinate of the orientation vector of the circle
;
#X text 143 173 2 : Y coordinate of the orientation vector of the circle
;
#X text 144 198 3 : Z coordinate of the orientation vector of the circle
;
#X text 144 226 4 : Center circle X;
#X text 143 252 5 : Center circle Y;
#X text 142 275 6 : Center circle Z;
#X text 140 414 9 : Maximum depth of the test;
#X text 141 61 It receives mass position \, and outputs 0/1 according
to the mass position (1 if the mass is in the circle).;
#X connect 2 0 12 0;
#X connect 3 0 12 0;
#X connect 12 0 6 0;
#X connect 12 1 7 0;
#X connect 12 2 8 0;
#X connect 13 0 12 0;
#X connect 14 0 12 0;
#X connect 16 0 12 0;
#X connect 17 0 12 0;
#X connect 18 0 12 0;
#X connect 19 0 12 0;
#X connect 22 0 12 0;
|