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.

222 lines
5.5 KiB

2 years ago
{
"scene_type": "distance_barrier_rb_problem",
"timestep": 0.01,
"distance_barrier_constraint": {
"initial_barrier_activation_distance": 0.0001,
"detection_method": "hash_grid",
"use_distance_hashgrid": true,
"custom_hashgrid_cellsize": -1
},
"homotopy_solver": {
"min_barrier_epsilon": 0.0001
},
"rigid_body_problem": {
"gravity": [
0,
-9.81
],
"coefficient_restitution": 0.0,
"rigid_bodies": [
{
"vertices": [
[
-10,
-1
],
[
10,
-1
],
[
10,
0
],
[
-10,
0
]
],
"is_dof_fixed": [
true,
true,
true
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
0.0,
0.1
],
[
1.0,
0.1
],
[
1.0,
1.1
],
[
0.0,
1.1
]
],
"is_dof_fixed": [
false,
false,
false
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
0.01,
1.2000000000000002
],
[
0.99,
1.2000000000000002
],
[
0.99,
2.2
],
[
0.01,
2.2
]
],
"is_dof_fixed": [
false,
false,
false
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
},
{
"vertices": [
[
0.02,
2.3000000000000003
],
[
0.98,
2.3000000000000003
],
[
0.98,
3.3000000000000003
],
[
0.02,
3.3000000000000003
]
],
"is_dof_fixed": [
false,
false,
false
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
}
]
}
}