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.
348 lines
8.8 KiB
348 lines
8.8 KiB
{
|
|
"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
|
|
],
|
|
[
|
|
-0.2499999999999999,
|
|
0.4330127018922194
|
|
],
|
|
[
|
|
-0.2500000000000002,
|
|
-0.4330127018922192
|
|
]
|
|
],
|
|
"oriented": true,
|
|
"position": [
|
|
-3,
|
|
0.0
|
|
],
|
|
"is_dof_fixed": [
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
0
|
|
]
|
|
],
|
|
"rotation": [
|
|
0.0
|
|
],
|
|
"linear_velocity": [
|
|
10.0,
|
|
0.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"vertices": [
|
|
[
|
|
0.5,
|
|
0.0
|
|
],
|
|
[
|
|
-0.2499999999999999,
|
|
0.4330127018922194
|
|
],
|
|
[
|
|
-0.2500000000000002,
|
|
-0.4330127018922192
|
|
]
|
|
],
|
|
"oriented": true,
|
|
"position": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"is_dof_fixed": [
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
0
|
|
]
|
|
],
|
|
"rotation": [
|
|
59.99999999999999
|
|
],
|
|
"linear_velocity": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"vertices": [
|
|
[
|
|
0.5,
|
|
0.0
|
|
],
|
|
[
|
|
-0.2499999999999999,
|
|
0.4330127018922194
|
|
],
|
|
[
|
|
-0.2500000000000002,
|
|
-0.4330127018922192
|
|
]
|
|
],
|
|
"oriented": true,
|
|
"position": [
|
|
1.1,
|
|
0.0
|
|
],
|
|
"is_dof_fixed": [
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
0
|
|
]
|
|
],
|
|
"rotation": [
|
|
0.0
|
|
],
|
|
"linear_velocity": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"vertices": [
|
|
[
|
|
0.5,
|
|
0.0
|
|
],
|
|
[
|
|
-0.2499999999999999,
|
|
0.4330127018922194
|
|
],
|
|
[
|
|
-0.2500000000000002,
|
|
-0.4330127018922192
|
|
]
|
|
],
|
|
"oriented": true,
|
|
"position": [
|
|
2.2,
|
|
0.0
|
|
],
|
|
"is_dof_fixed": [
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
0
|
|
]
|
|
],
|
|
"rotation": [
|
|
59.99999999999999
|
|
],
|
|
"linear_velocity": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"vertices": [
|
|
[
|
|
0.5,
|
|
0.0
|
|
],
|
|
[
|
|
-0.2499999999999999,
|
|
0.4330127018922194
|
|
],
|
|
[
|
|
-0.2500000000000002,
|
|
-0.4330127018922192
|
|
]
|
|
],
|
|
"oriented": true,
|
|
"position": [
|
|
3.3000000000000003,
|
|
0.0
|
|
],
|
|
"is_dof_fixed": [
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
0
|
|
]
|
|
],
|
|
"rotation": [
|
|
0.0
|
|
],
|
|
"linear_velocity": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|