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.

179 lines
4.2 KiB

2 years ago
{
"max_iterations": 150,
"timestep": 0.1,
"scene_type": "distance_barrier_rb_problem",
"distance_barrier_constraint": {
"initial_barrier_activation_distance": 0.01,
"detection_method": "hash_grid",
"use_log_barrier": true
},
"homotopy_solver": {
"e_b": 1e-05,
"m": 1,
"t_init": 2,
"c": 0.01,
"t_inc": 2,
"inner_solver": "newton_solver"
},
"newton_solver": {
"max_iterations": 1000
},
"rigid_body_problem": {
"coefficient_restitution": 1.0,
"gravity": [
0.0,
-1.0
],
"rigid_bodies": [{
"vertices": [
[
-1,
-1
],
[
-1,
1
],
[
1,
1
],
[
1,
-1
]
],
"position": [
-10,
10
],
"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": [
[
-1,
-1
],
[
-1,
1
],
[
1,
1
],
[
1,
-1
]
],
"position": [
10,
15
],
"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": [
[
-10,
0
],
[
0,
0
],
[
10,
0
]
],
"position": [
0,
0
],
"is_dof_fixed": [
true,
true,
false
],
"edges": [
[
0,
1
],
[
1,
2
]
],
"linear_velocity": [
0.0,
0.0
],
"angular_velocity": [
0.0
]
}
]
}
}