Commit 98c084d
[src] Start work on factorizing code in SofaSphereCollision and fix code (#245)
* SURG4D-42 #time 10h
* [src] Add method to setNbrVertices to a mechanicalObject
* [src] Add Debug option to draw sofa positions as spheres
* [src] Start work on factorizing code in SofaSphereCollision and fix code
* fix map size
* backup last changes on sphereCollision refactoring
* [src] Update SofaSphereCollision to use existing SOFA component as the registration is not working right now in SofaVerseAPI
* [src] Update SofaSphereCollisionObject to match the change of SofaSphereCollision (names are very bad)
* Add demo scene
* added link for sofaSphereCollisionObject script in demo
* Less quality mesh for a faster scene
---------
Co-authored-by: PierreFonda3D <pierre.fonda@infinytech3d.com>1 parent e4850b5 commit 98c084d
9 files changed
Lines changed: 8643 additions & 251 deletions
File tree
- Core
- Plugins/SofaUnityAPI/BaseAPI
- Scripts
- Core/Components
- Editor
- Components
- Objects
- Modules/Objects
- Scenes
- Demos/Interaction
- SofaScenes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
851 | 865 | | |
852 | 866 | | |
853 | 867 | | |
| |||
867 | 881 | | |
868 | 882 | | |
869 | 883 | | |
870 | | - | |
| 884 | + | |
871 | 885 | | |
872 | 886 | | |
873 | 887 | | |
| |||
878 | 892 | | |
879 | 893 | | |
880 | 894 | | |
881 | | - | |
| 895 | + | |
882 | 896 | | |
883 | 897 | | |
884 | 898 | | |
| |||
889 | 903 | | |
890 | 904 | | |
891 | 905 | | |
892 | | - | |
| 906 | + | |
893 | 907 | | |
894 | 908 | | |
895 | 909 | | |
| |||
912 | 926 | | |
913 | 927 | | |
914 | 928 | | |
915 | | - | |
| 929 | + | |
916 | 930 | | |
917 | 931 | | |
918 | 932 | | |
| |||
935 | 949 | | |
936 | 950 | | |
937 | 951 | | |
938 | | - | |
| 952 | + | |
939 | 953 | | |
940 | 954 | | |
941 | 955 | | |
| |||
951 | 965 | | |
952 | 966 | | |
953 | 967 | | |
954 | | - | |
| 968 | + | |
955 | 969 | | |
956 | 970 | | |
957 | 971 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
136 | 150 | | |
137 | 151 | | |
138 | 152 | | |
| |||
508 | 522 | | |
509 | 523 | | |
510 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
511 | 545 | | |
512 | 546 | | |
513 | | - | |
514 | | - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
515 | 568 | | |
516 | 569 | | |
517 | 570 | | |
518 | 571 | | |
519 | | - | |
520 | | - | |
| 572 | + | |
521 | 573 | | |
522 | | - | |
523 | | - | |
524 | | - | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
525 | 581 | | |
526 | 582 | | |
527 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
33 | 26 | | |
| 27 | + | |
| 28 | + | |
34 | 29 | | |
35 | 30 | | |
36 | 31 | | |
| |||
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
| 46 | + | |
51 | 47 | | |
52 | | - | |
53 | 48 | | |
54 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | | - | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
0 commit comments