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.
41 lines
1.2 KiB
41 lines
1.2 KiB
{
|
|
"scene_type": "distance_barrier_rb_problem",
|
|
"max_iterations": 1000,
|
|
"timestep": 0.01,
|
|
"distance_barrier_constraint": {
|
|
"initial_barrier_activation_distance": 0.001
|
|
},
|
|
"rigid_body_problem": {
|
|
"coefficient_restitution": -1,
|
|
"coefficient_friction": 0.0,
|
|
"gravity": [0, -9.8, 0],
|
|
"rigid_bodies": [{
|
|
"mesh": "gears/gear.obj",
|
|
"rotation": [90, 0, 0],
|
|
"angular_velocity": [0, 0, -100],
|
|
"type": "kinematic",
|
|
"density": 1,
|
|
"is_dof_fixed": [true, true, true, true, true, false]
|
|
}, {
|
|
"mesh": "gears/pin.obj",
|
|
"rotation": [90, 0, 0],
|
|
"enabled": false,
|
|
"type": "static"
|
|
}, {
|
|
"mesh": "gears/gear.obj",
|
|
"position": [2.05, 0, 0],
|
|
"rotation": [90, 0, 15],
|
|
"enabled": true,
|
|
"density": 1,
|
|
"is_dof_fixed": [true, true, true, true, true, false]
|
|
}, {
|
|
"mesh": "gears/pin.obj",
|
|
"position": [2.05, 0, 0],
|
|
"rotation": [90, 0, 0],
|
|
"enabled": false,
|
|
"ipc_comparison_enabled": true,
|
|
"density": 1,
|
|
"type": "static"
|
|
}]
|
|
}
|
|
}
|