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.
143 lines
3.4 KiB
143 lines
3.4 KiB
2 years ago
|
{
|
||
|
"max_iterations": 80,
|
||
|
"timestep": 0.05,
|
||
|
"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": 1,
|
||
|
"t_inc": 20,
|
||
|
"c": 0.01,
|
||
|
"inner_solver": "newton_solver"
|
||
|
},
|
||
|
"newton_solver": {
|
||
|
"max_iterations": 1000
|
||
|
},
|
||
|
"rigid_body_problem": {
|
||
|
"coefficient_restitution": 1.0,
|
||
|
"gravity": [
|
||
|
0.0,
|
||
|
-3.0
|
||
|
],
|
||
|
"rigid_bodies": [
|
||
|
{
|
||
|
"oriented": true,
|
||
|
"vertices": [
|
||
|
[
|
||
|
-1,
|
||
|
-1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
-1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
-1,
|
||
|
1
|
||
|
]
|
||
|
],
|
||
|
"position": [
|
||
|
0.0,
|
||
|
10
|
||
|
],
|
||
|
"is_dof_fixed": [
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
],
|
||
|
"edges": [
|
||
|
[
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
1,
|
||
|
2
|
||
|
],
|
||
|
[
|
||
|
2,
|
||
|
3
|
||
|
],
|
||
|
[
|
||
|
3,
|
||
|
0
|
||
|
]
|
||
|
],
|
||
|
"rotation": [
|
||
|
45
|
||
|
],
|
||
|
"linear_velocity": [
|
||
|
0.0,
|
||
|
0.0
|
||
|
],
|
||
|
"angular_velocity": [
|
||
|
0.0
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"oriented": true,
|
||
|
"vertices": [
|
||
|
[
|
||
|
-10,
|
||
|
0
|
||
|
],
|
||
|
[
|
||
|
10,
|
||
|
0
|
||
|
],
|
||
|
[
|
||
|
10,
|
||
|
1
|
||
|
],
|
||
|
[
|
||
|
-10,
|
||
|
1
|
||
|
]
|
||
|
],
|
||
|
"position": [
|
||
|
0,
|
||
|
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
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|