You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
388 lines
9.7 KiB
388 lines
9.7 KiB
2 years ago
|
{
|
||
|
"scene_type": "distance_barrier_rb_problem",
|
||
|
"timestep": 0.01,
|
||
|
"distance_barrier_constraint": {
|
||
|
"initial_barrier_activation_distance": 0.01,
|
||
|
"detection_method": "hash_grid",
|
||
|
"use_distance_hashgrid": true,
|
||
|
"custom_hashgrid_cellsize": -1
|
||
|
},
|
||
|
"homotopy_solver": {
|
||
|
"min_barrier_epsilon": 0.0001
|
||
|
},
|
||
|
"rigid_body_problem": {
|
||
|
"gravity": [
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"coefficient_restitution": 1,
|
||
|
"rigid_bodies": [
|
||
|
{
|
||
|
"vertices": [
|
||
|
[
|
||
|
0,
|
||
|
-10
|
||
|
],
|
||
|
[
|
||
|
0,
|
||
|
10
|
||
|
]
|
||
|
],
|
||
|
"oriented": false,
|
||
|
"is_dof_fixed": [
|
||
|
true,
|
||
|
true,
|
||
|
true
|
||
|
],
|
||
|
"position": [
|
||
|
-4.1,
|
||
|
0.0
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
0
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"vertices": [
|
||
|
[
|
||
|
0,
|
||
|
-10
|
||
|
],
|
||
|
[
|
||
|
0,
|
||
|
10
|
||
|
]
|
||
|
],
|
||
|
"oriented": false,
|
||
|
"is_dof_fixed": [
|
||
|
true,
|
||
|
true,
|
||
|
true
|
||
|
],
|
||
|
"position": [
|
||
|
5.5,
|
||
|
0.0
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
0
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"vertices": [
|
||
|
[
|
||
|
0.5,
|
||
|
0.0
|
||
|
],
|
||
|
[
|
||
|
3.061616997868383e-17,
|
||
|
0.5
|
||
|
],
|
||
|
[
|
||
|
-0.5,
|
||
|
6.123233995736766e-17
|
||
|
],
|
||
|
[
|
||
|
-9.184850993605148e-17,
|
||
|
-0.5
|
||
|
]
|
||
|
],
|
||
|
"oriented": true,
|
||
|
"position": [
|
||
|
-3,
|
||
|
0.0
|
||
|
],
|
||
|
"is_dof_fixed": [
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
2
|
||
|
],
|
||
|
[
|
||
|
2,
|
||
|
3
|
||
|
],
|
||
|
[
|
||
|
3,
|
||
|
0
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
45.0
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
10.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"vertices": [
|
||
|
[
|
||
|
0.5,
|
||
|
0.0
|
||
|
],
|
||
|
[
|
||
|
3.061616997868383e-17,
|
||
|
0.5
|
||
|
],
|
||
|
[
|
||
|
-0.5,
|
||
|
6.123233995736766e-17
|
||
|
],
|
||
|
[
|
||
|
-9.184850993605148e-17,
|
||
|
-0.5
|
||
|
]
|
||
|
],
|
||
|
"oriented": true,
|
||
|
"position": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"is_dof_fixed": [
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
2
|
||
|
],
|
||
|
[
|
||
|
2,
|
||
|
3
|
||
|
],
|
||
|
[
|
||
|
3,
|
||
|
0
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
45.0
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"vertices": [
|
||
|
[
|
||
|
0.5,
|
||
|
0.0
|
||
|
],
|
||
|
[
|
||
|
3.061616997868383e-17,
|
||
|
0.5
|
||
|
],
|
||
|
[
|
||
|
-0.5,
|
||
|
6.123233995736766e-17
|
||
|
],
|
||
|
[
|
||
|
-9.184850993605148e-17,
|
||
|
-0.5
|
||
|
]
|
||
|
],
|
||
|
"oriented": true,
|
||
|
"position": [
|
||
|
1.1,
|
||
|
0.0
|
||
|
],
|
||
|
"is_dof_fixed": [
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
2
|
||
|
],
|
||
|
[
|
||
|
2,
|
||
|
3
|
||
|
],
|
||
|
[
|
||
|
3,
|
||
|
0
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
45.0
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"vertices": [
|
||
|
[
|
||
|
0.5,
|
||
|
0.0
|
||
|
],
|
||
|
[
|
||
|
3.061616997868383e-17,
|
||
|
0.5
|
||
|
],
|
||
|
[
|
||
|
-0.5,
|
||
|
6.123233995736766e-17
|
||
|
],
|
||
|
[
|
||
|
-9.184850993605148e-17,
|
||
|
-0.5
|
||
|
]
|
||
|
],
|
||
|
"oriented": true,
|
||
|
"position": [
|
||
|
2.2,
|
||
|
0.0
|
||
|
],
|
||
|
"is_dof_fixed": [
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
2
|
||
|
],
|
||
|
[
|
||
|
2,
|
||
|
3
|
||
|
],
|
||
|
[
|
||
|
3,
|
||
|
0
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
45.0
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"vertices": [
|
||
|
[
|
||
|
0.5,
|
||
|
0.0
|
||
|
],
|
||
|
[
|
||
|
3.061616997868383e-17,
|
||
|
0.5
|
||
|
],
|
||
|
[
|
||
|
-0.5,
|
||
|
6.123233995736766e-17
|
||
|
],
|
||
|
[
|
||
|
-9.184850993605148e-17,
|
||
|
-0.5
|
||
|
]
|
||
|
],
|
||
|
"oriented": true,
|
||
|
"position": [
|
||
|
3.3000000000000003,
|
||
|
0.0
|
||
|
],
|
||
|
"is_dof_fixed": [
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
2
|
||
|
],
|
||
|
[
|
||
|
2,
|
||
|
3
|
||
|
],
|
||
|
[
|
||
|
3,
|
||
|
0
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
45.0
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|